From fd0581bbb40d8f4b0e4b3a4de2258a50df37bb57 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Fri, 11 May 2007 11:23:18 +0200 Subject: [PATCH] i386: Fix compilation of verify_cpu.S on old binutils Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- arch/i386/kernel/verify_cpu.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/i386/kernel/verify_cpu.S b/arch/i386/kernel/verify_cpu.S index e51a8695d54e..b2a9d80b6421 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 -- 2.30.2