aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-11-12 19:18:46 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-11-12 19:18:46 +0000
commit90baa95fad7d2994b715cc824a4277681bc2c3a2 (patch)
treee41cbcc1073a554b37f30a5055a97f6044c42e1a /sys
parentbd2ed154a1c7b5f3a7178f154528385575cb6fe2 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/include/atomic.h2
1 files changed, 1 insertions, 1 deletions
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