diff options
| -rw-r--r-- | sys/amd64/include/smp.h | 6 | ||||
| -rw-r--r-- | sys/i386/include/smp.h | 6 | ||||
| -rw-r--r-- | sys/sys/smp.h | 6 |
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 */ |
