diff options
author | jhb <jhb@FreeBSD.org> | 2004-11-12 19:18:46 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-11-12 19:18:46 +0000 |
commit | 747be736a220c8bd8b08a40629e16c6424de8ec8 (patch) | |
tree | e41cbcc1073a554b37f30a5055a97f6044c42e1a /sys/i386/include | |
parent | ba0a3a16d668889c5d91cda6494213380d2564ae (diff) | |
download | FreeBSD-src-747be736a220c8bd8b08a40629e16c6424de8ec8.zip FreeBSD-src-747be736a220c8bd8b08a40629e16c6424de8ec8.tar.gz |
Spell _KERNEL correctly so that UP kernels are actually optimized again.
Submitted by: pjd
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/atomic.h b/sys/i386/include/atomic.h index 4d21b38..a1f4acb 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 |