summaryrefslogtreecommitdiffstats
path: root/sys/sys/smp.h
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-05-06 21:29:57 +0000
committerfsmp <fsmp@FreeBSD.org>1997-05-06 21:29:57 +0000
commit333837f71d742345bb92fdbd6d33f48869da3907 (patch)
tree4e849d85b490b42f48d1005a016177620ca5dcca /sys/sys/smp.h
parent03b0fe112ceddbe07ee554626df2fd5eda06fae4 (diff)
downloadFreeBSD-src-333837f71d742345bb92fdbd6d33f48869da3907.zip
FreeBSD-src-333837f71d742345bb92fdbd6d33f48869da3907.tar.gz
Force user to config SMP kernel with "options APIC_IO".
Reviewed by: Peter Wemm <peter@spinner.DIALix.COM>
Diffstat (limited to 'sys/sys/smp.h')
-rw-r--r--sys/sys/smp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/smp.h b/sys/sys/smp.h
index d6da4f2..a609ae2 100644
--- a/sys/sys/smp.h
+++ b/sys/sys/smp.h
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: smp.h,v 1.5 1997/05/03 18:05:31 fsmp Exp $
+ * $Id: smp.h,v 1.6 1997/05/05 22:56:37 fsmp Exp $
*
*/
@@ -17,6 +17,10 @@
#include "opt_smp.h"
+#if defined(SMP) && !defined(APIC_IO)
+# error APIC_IO required for SMP, add "options APIC_IO" to your config file.
+#endif /* SMP && NCPU */
+
#if defined(SMP) && !defined(NCPU)
# define NCPU 2
#endif /* SMP && NCPU */
OpenPOWER on IntegriCloud