diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index 3d3e67aa1..3afae2ad4 100644 --- a/init/main.c +++ b/init/main.c @@ -61,6 +61,10 @@ extern void nubus_init(void); #include <net/irda/irda_device.h> #endif +#ifdef CONFIG_X86_IO_APIC +#include <asm/smp.h> +#endif + /* * Versions of gcc older than that listed below may actually compile * and link okay, but the end product can have subtle run time bugs. @@ -435,7 +439,14 @@ extern void cpu_idle(void); #ifndef __SMP__ +#ifdef CONFIG_X86_IO_APIC +static void __init smp_init(void) +{ + IO_APIC_init_uniprocessor(); +} +#else #define smp_init() do { } while (0) +#endif #else |