Commit 2267966f authored by Dave Jones's avatar Dave Jones

[PATCH] Double x86 initialise fix.

For many moons, we've been executing identify_cpu()
on the boot processor twice on SMP kernels.
This is harmless, but has a few downsides..
- Extra cruft in bootlog/dmesg
- Spawns one too many timers for the mcheck handler
- possibly other wasteful things..

This seems to do the right thing here, and has been
acked (after some minor squibbles) on l-k.
parent 758634f5
......@@ -118,7 +118,8 @@ static void __init smp_store_cpu_info(int id)
struct cpuinfo_x86 *c = cpu_data + id;
*c = boot_cpu_data;
identify_cpu(c);
if (id!=0)
identify_cpu(c);
/*
* Mask B, Pentium, but not Pentium MMX
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment