From: Andi Kleen Date: Fri, 11 May 2007 09:23:18 +0000 (+0200) Subject: i386: Fix compilation of verify_cpu.S on old binutils X-Git-Tag: v2.6.22-rc1~27 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd0581bbb40d8f4b0e4b3a4de2258a50df37bb57;p=linux-2.6 i386: Fix compilation of verify_cpu.S on old binutils Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/verify_cpu.S b/arch/i386/kernel/verify_cpu.S index e51a8695d5..b2a9d80b64 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