aboutsummaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2007-05-11 11:23:18 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-11 12:53:00 -0700
commitfd0581bbb40d8f4b0e4b3a4de2258a50df37bb57 (patch)
treeadcb114ce77dd6ca4ecd11c54f988218de64a487 /arch/i386
parent1f8a6b658a943b4f04a1fc7b3a420360202c86cd (diff)
i386: Fix compilation of verify_cpu.S on old binutils
Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/verify_cpu.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/i386/kernel/verify_cpu.S b/arch/i386/kernel/verify_cpu.S
index e51a8695d54..b2a9d80b642 100644
--- a/arch/i386/kernel/verify_cpu.S
+++ b/arch/i386/kernel/verify_cpu.S
@@ -10,7 +10,9 @@ verify_cpu:
#if CONFIG_X86_MINIMUM_CPU_MODEL >= 4
pushfl
- orl $(1<<18),(%esp) # try setting AC
+ pop %eax
+ orl $(1<<18),%eax # try setting AC
+ push %eax
popfl
pushfl
popl %eax