aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Passe <fsmp@FreeBSD.org>1997-05-06 21:29:57 +0000
committerSteve Passe <fsmp@FreeBSD.org>1997-05-06 21:29:57 +0000
commitf258030f390f01a67a856c99740b8e31aa4eb10c (patch)
tree83d817c2d7389471cf7780502061738e75b07edf
parent86b1d6d24da0987c573d63be38ea23ab3afd0989 (diff)
Notes
-rw-r--r--sys/amd64/include/smp.h6
-rw-r--r--sys/i386/include/smp.h6
-rw-r--r--sys/sys/smp.h6
3 files changed, 15 insertions, 3 deletions
diff --git a/sys/amd64/include/smp.h b/sys/amd64/include/smp.h
index d6da4f2eddd0..a609ae28f435 100644
--- a/sys/amd64/include/smp.h
+++ b/sys/amd64/include/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 */
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h
index d6da4f2eddd0..a609ae28f435 100644
--- a/sys/i386/include/smp.h
+++ b/sys/i386/include/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 */
diff --git a/sys/sys/smp.h b/sys/sys/smp.h
index d6da4f2eddd0..a609ae28f435 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 */