summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mfgpt_32.c
diff options
context:
space:
mode:
authorStephan Diestelhorst <langer_mann@web.de>2008-03-10 16:05:41 +0100
committerIngo Molnar <mingo@elte.hu>2008-03-26 22:23:40 +0100
commitc6e8256a7b15033bc5d7797e25c7e053040c4c7c (patch)
tree596ea5db734559345a0d389f374902ab5132e3cb /arch/x86/kernel/mfgpt_32.c
parentx86: fix memoryless node oops during boot (diff)
downloadlinux-c6e8256a7b15033bc5d7797e25c7e053040c4c7c.tar.xz
linux-c6e8256a7b15033bc5d7797e25c7e053040c4c7c.zip
x86, cpufreq: fix Speedfreq-SMI call that clobbers ECX
I have found that using SMI to change the cpu's frequency on my DELL Latitude L400 clobbers the ECX register in speedstep_set_state, causing unneccessary retries because the "state" variable has changed silently (GCC assumes it is still present in ECX). play safe and avoid gcc caching any register across IO port accesses that trigger SMIs. Signed-off by: <Stephan.Diestelhorst@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/mfgpt_32.c')
0 files changed, 0 insertions, 0 deletions