aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/cpufunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/cpufunc.h')
-rw-r--r--sys/i386/include/cpufunc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h
index 48ec3518fc89..97b7694ce2dd 100644
--- a/sys/i386/include/cpufunc.h
+++ b/sys/i386/include/cpufunc.h
@@ -240,7 +240,7 @@ invd(void)
__asm __volatile("invd");
}
-#if defined(SMP) && defined(KERNEL)
+#if defined(SMP) && defined(_KERNEL)
/*
* When using APIC IPI's, invlpg() is not simply the invlpg instruction
@@ -271,7 +271,7 @@ cpu_invltlb(void)
#endif
}
-#else /* !(SMP && KERNEL) */
+#else /* !(SMP && _KERNEL) */
static __inline void
invlpg(u_int addr)
@@ -294,7 +294,7 @@ invltlb(void)
#endif
}
-#endif /* SMP && KERNEL */
+#endif /* SMP && _KERNEL */
static __inline u_short
inw(u_int port)