summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-09-07 16:10:02 +0000
committerjhb <jhb@FreeBSD.org>2000-09-07 16:10:02 +0000
commitf9ac5172293af04201033d35c0f23c3b4e16e1bc (patch)
treee9ea4f3c339ea0fb9f7fdc2cb1c44c41b87344d3 /sys/amd64/include
parent48a226d4c835b83eafbfa399f61d7c6f2163a291 (diff)
downloadFreeBSD-src-f9ac5172293af04201033d35c0f23c3b4e16e1bc.zip
FreeBSD-src-f9ac5172293af04201033d35c0f23c3b4e16e1bc.tar.gz
Test for both SMP and I386_CPU being set before generating an error.
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/smp.h b/sys/amd64/include/smp.h
index 20d4fa3..59dcb16 100644
--- a/sys/amd64/include/smp.h
+++ b/sys/amd64/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