summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h
index 20d4fa3..59dcb16 100644
--- a/sys/i386/include/smp.h
+++ b/sys/i386/include/smp.h
@@ -15,7 +15,7 @@
#ifdef _KERNEL
-#ifdef I386_CPU
+#if defined(SMP) && defined(I386_CPU)
#error SMP not supported with I386_CPU
#endif
#if defined(SMP) && !defined(APIC_IO)
OpenPOWER on IntegriCloud