diff -urN linux-2.5.8-base/init/main.c linux-2.5.8-percpufix/init/main.c --- linux-2.5.8-base/init/main.c Mon Apr 15 00:48:46 2002 +++ linux-2.5.8-percpufix/init/main.c Wed Apr 17 14:10:39 2002 @@ -274,6 +274,18 @@ #else +/* Called by boot processor to activate the rest. */ +static void __init smp_init(void) +{ + /* Get other processors into their bootup holding patterns. */ + smp_boot_cpus(); + + smp_threads_ready=1; + smp_commence(); +} + +#endif + #ifdef __GENERIC_PER_CPU unsigned long __per_cpu_offset[NR_CPUS]; @@ -302,18 +314,6 @@ } #endif /* !__GENERIC_PER_CPU */ -/* Called by boot processor to activate the rest. */ -static void __init smp_init(void) -{ - /* Get other processors into their bootup holding patterns. */ - smp_boot_cpus(); - - smp_threads_ready=1; - smp_commence(); -} - -#endif - /* * We need to finalize in a non-__init function or else race conditions * between the root thread and the init thread may cause start_kernel to