5758d5dfef
Fix a very dubious piece of code in arch/i386/kernel/cpu/common.c:cpu_init(). This clears out %fs and %gs, but clobbers %eax in the process without telling gcc. It turns out that gcc happens to be not using %eax at that point anyway so it doesn't matter much, but it looks like a bomb waiting to go off. This does end up saving an instruction, because gcc wants %eax==0 for the set_debugreg()s below. Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Andi Kleen <ak@suse.de> |
||
---|---|---|
.. | ||
cpufreq | ||
mcheck | ||
mtrr | ||
amd.c | ||
centaur.c | ||
common.c | ||
cpu.h | ||
cyrix.c | ||
intel.c | ||
intel_cacheinfo.c | ||
Makefile | ||
nexgen.c | ||
proc.c | ||
rise.c | ||
transmeta.c | ||
umc.c |