diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | i386/linux/dev/include/linux/autoconf.h | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -19,6 +19,8 @@ _interrupt_stack. * i386/i386/i386asm.sym (MP_GDT, MP_IDT): Remove macros. * i386/i386/lock.h: Don't include_next "lock.h". + * i386/linux/dev/include/linux/autoconf.h [NCPUS > 1]: Define + CONFIG_SMP and __SMP__. 2007-07-08 Samuel Thibault <samuel.thibault@ens-lyon.org> diff --git a/i386/linux/dev/include/linux/autoconf.h b/i386/linux/dev/include/linux/autoconf.h index c67a667..93c6716 100644 --- a/i386/linux/dev/include/linux/autoconf.h +++ b/i386/linux/dev/include/linux/autoconf.h @@ -34,6 +34,11 @@ #undef CONFIG_M686 #endif +#if NCPUS > 1 +#define CONFIG_SMP 1 +#define __SMP__ 1 +#endif + /* * Floppy, IDE, and other block devices */ |