diff options
author | Stephan Diestelhorst <langer_mann@web.de> | 2008-03-10 16:05:41 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-03-26 22:23:40 +0100 |
commit | c6e8256a7b15033bc5d7797e25c7e053040c4c7c (patch) | |
tree | 596ea5db734559345a0d389f374902ab5132e3cb /include/asm-powerpc/kgdb.h | |
parent | 475613b9e374bf0c15340eb166a962da04aa02e8 (diff) |
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 'include/asm-powerpc/kgdb.h')
0 files changed, 0 insertions, 0 deletions