[PATCH] Fix speedstep-smi assembly bug in speedstep_smi_ownership
commit5e48e1d6331d9a5f8ca50998c4c229b297215948
authorAndrew Morton <akpm@osdl.org>
Sat, 25 Mar 2006 03:40:37 +0000 (24 19:40 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Mar 2006 06:47:31 +0000 (27 22:47 -0800)
tree838a2c7463b8c6e67355c70f792986e2699b2154
parent74c34e68ec7ac4383ee49b2e8b8a7a2efa8e1012
[PATCH] Fix speedstep-smi assembly bug in speedstep_smi_ownership

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: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c