[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)
commitf081a529f808ed450c22553de7b3275e0ffde9a0
tree0c50e4a3a4a95a5d97c1e9ceddaed6c0034115aa
parent1e8c573933fd7975679766850252ad08667e5ca4
[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