diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-05 00:17:56 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-05 00:17:56 -0800 |
| commit | 2f886464aa00cd9eb9cf46c8c155a24a752bb317 (patch) | |
| tree | 2ba7448086adf0c35ccc34860959ef009b499d62 /init | |
| parent | fe48f9c8ac1f6b93d8f1371f116a2a0d95d6bc19 (diff) | |
v2.5.2.5 -> v2.5.2.6
- Asit Mallick: mtrr update
- Patrick Mochel: split up kernel/device.c into drivers/base
- Mikael Pettersson/Al Viro: fix missing in-core inode initialization
in ext2 introduced by Al's inode trimming
- David Miller: sparc and network updates
- Frank Davis: firewire video mmap page remapping fix
- me: fix configure help scripts to fix breakage noticed by Dave Jones
- Greg KH: USB updates
- Kai Germaschewski: ISDN fixes, Config.help entries
- Douglas Gilbert: SCSI doc update
- Ingo Molnar: x86 taskswitch optimizations, scheduler updates
- Mikael Pettersson: make APIC work on old external setups
- Al Viro: more inode trimming
Diffstat (limited to 'init')
| -rw-r--r-- | init/main.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/init/main.c b/init/main.c index 0a71a18bcf2d..f4f7ccc42fdb 100644 --- a/init/main.c +++ b/init/main.c @@ -274,27 +274,14 @@ static void __init smp_init(void) #else -static unsigned long __initdata wait_init_idle; - -void __init idle_startup_done(void) -{ - clear_bit(smp_processor_id(), &wait_init_idle); - while (wait_init_idle) { - cpu_relax(); - barrier(); - } -} - /* 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(); - wait_init_idle = cpu_online_map; smp_threads_ready=1; smp_commence(); - idle_startup_done(); } #endif @@ -391,7 +378,7 @@ asmlinkage void __init start_kernel(void) check_bugs(); printk("POSIX conformance testing by UNIFIX\n"); - init_idle(); + init_idle(current, smp_processor_id()); /* * We count on the initial thread going ok * Like idlers init is an unlocked kernel thread, which will |
