]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cpufreq: speedstep-smi asm fix
authorAndrew Morton <akpm@osdl.org>
Sat, 25 Mar 2006 09:51:51 +0000 (01:51 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:42:45 +0000 (08:42 -0800)
commitfa6bc987bbc40c63d5a3c4f3c123a16d0cdd38ac
tree0c50e4a3a4a95a5d97c1e9ceddaed6c0034115aa
parent30bba0e3646b9a4c0a3d382cb2086f6b03b9b8ca
[PATCH] cpufreq: speedstep-smi asm fix

Fix bug identified by Linus Torvalds <torvalds@osdl.org>: the `out'
instruction depends upon the state of memory_data[], so we need to tell gcc
that before executing it. (The opcode, not gcc).

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=5553

Thanks to Antonio Ospite <ospite@studenti.unina.it> for testing.

Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c