Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/include Add a define __HAVE_CPU_DATA_FIRST wh...



details:   https://anonhg.NetBSD.org/src/rev/f8b89a4380a6
branches:  trunk
changeset: 759955:f8b89a4380a6
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 22 00:05:33 2010 +0000

description:
Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first
member in struct cpu_info.

diffstat:

 sys/arch/sparc/include/types.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1e9787a64907 -r f8b89a4380a6 sys/arch/sparc/include/types.h
--- a/sys/arch/sparc/include/types.h    Tue Dec 21 20:56:01 2010 +0000
+++ b/sys/arch/sparc/include/types.h    Wed Dec 22 00:05:33 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.52 2010/01/10 13:52:06 martin Exp $ */
+/*     $NetBSD: types.h,v 1.53 2010/12/22 00:05:33 christos Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -116,6 +116,7 @@
 #define        __HAVE_DEVICE_REGISTER
 #define        __HAVE_SYSCALL_INTERN
 #define        __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS
+#define __HAVE_CPU_DATA_FIRST
 
 #ifdef SUN4U
 #define __HAVE_DEVICE_REGISTER_POSTCONFIG



Home | Main Index | Thread Index | Old Index