android_kernel_xiaomi_sm8350/arch/i386/kernel/cpu
Jeremy Fitzhardinge 5758d5dfef [PATCH] i386: fix dubious segment register clear in cpu_init()
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>
2006-09-26 10:52:34 +02:00
..
cpufreq [CPUFREQ] sw_any_bug_dmi_table can be used on resume, so it isn't initdata 2006-09-22 19:18:19 -04:00
mcheck [PATCH] mce section fix 2006-07-31 13:28:37 -07:00
mtrr [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
amd.c [PATCH] i386: move phys_proc_id and cpu_core_id to cpuinfo_x86 2006-06-27 17:32:37 -07:00
centaur.c [PATCH] Fix the imlicit declaration of mtrr_centaur_report_mcr in arch/i386/kernel/cpu/centaur.c 2006-03-23 07:38:06 -08:00
common.c [PATCH] i386: fix dubious segment register clear in cpu_init() 2006-09-26 10:52:34 +02:00
cpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyrix.c spelling fixes 2006-06-26 18:35:02 +02:00
intel_cacheinfo.c [PATCH] cpu hotplug: use hotplug version of registration in late inits 2006-07-31 13:28:39 -07:00
intel.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nexgen.c [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00
proc.c [PATCH] i386: move phys_proc_id and cpu_core_id to cpuinfo_x86 2006-06-27 17:32:37 -07:00
rise.c [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00
transmeta.c [PATCH] x86_64: Add boot option to disable randomized mappings and cleanup 2006-02-17 08:00:40 -08:00
umc.c [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00