From 90baa95fad7d2994b715cc824a4277681bc2c3a2 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 12 Nov 2004 19:18:46 +0000 Subject: Spell _KERNEL correctly so that UP kernels are actually optimized again. Submitted by: pjd --- sys/i386/include/atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/i386/include/atomic.h b/sys/i386/include/atomic.h index 4d21b3819508..a1f4acb8e334 100644 --- a/sys/i386/include/atomic.h +++ b/sys/i386/include/atomic.h @@ -172,7 +172,7 @@ atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) #if defined(__GNUC__) || defined(__INTEL_COMPILER) -#if defined(KERNEL) && !defined(SMP) +#if defined(_KERNEL) && !defined(SMP) /* * We assume that a = b will do atomic loads and stores. However, on a -- cgit v1.3