From cc03c9de7d057c1fb843aa928c6c607a3c775700 Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 16 Nov 2004 20:42:32 +0000 Subject: Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove 80386 (I386_CPU) support from the kernel. --- sys/i386/include/atomic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/i386/include/atomic.h') diff --git a/sys/i386/include/atomic.h b/sys/i386/include/atomic.h index a1f4acb..5b9ef42 100644 --- a/sys/i386/include/atomic.h +++ b/sys/i386/include/atomic.h @@ -118,7 +118,7 @@ extern void atomic_##NAME##_##TYPE(volatile u_##TYPE *p, u_##TYPE v) #if defined(__GNUC__) || defined(__INTEL_COMPILER) -#if defined(I386_CPU) || defined(CPU_DISABLE_CMPXCHG) +#if defined(CPU_DISABLE_CMPXCHG) static __inline int atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) @@ -144,7 +144,7 @@ atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) return (res); } -#else /* defined(I386_CPU) */ +#else /* defined(CPU_DISABLE_CMPXCHG) */ static __inline int atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) @@ -166,7 +166,7 @@ atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) return (res); } -#endif /* defined(I386_CPU) */ +#endif /* defined(CPU_DISABLE_CMPXCHG) */ #endif /* defined(__GNUC__) || defined(__INTEL_COMPILER) */ -- cgit v1.1