From: James S. <jsi...@us...> - 2002-01-28 20:32:31
|
Update of /cvsroot/linux-mips/linux/arch/mips64/sgi-ip27 In directory usw-pr-cvs1:/tmp/cvs-serv7656/arch/mips64/sgi-ip27 Modified Files: ip27-init.c Log Message: Big overhaul of 64-bit kernel along the lines of what we already have for the 64-bit kernel just more radical. Index: ip27-init.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips64/sgi-ip27/ip27-init.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ip27-init.c 2001/12/17 18:31:14 1.6 +++ ip27-init.c 2002/01/28 20:31:57 1.7 @@ -438,7 +438,7 @@ start_secondary(); } -void allowboot(void) +__init void allowboot(void) { int num_cpus = 0; cpuid_t cpu, mycpuid = getcpuid(); @@ -536,6 +536,17 @@ init_mfhi_war(); #endif smp_num_cpus = num_cpus; +} + +void __init smp_boot_cpus(void) +{ + extern void allowboot(void); + + init_new_context(current, &init_mm); + current->processor = 0; + init_idle(); + smp_tune_scheduling(); + allowboot(); } #else /* CONFIG_SMP */ |