]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
i386: Fix compilation of verify_cpu.S on old binutils
authorAndi Kleen <ak@suse.de>
Fri, 11 May 2007 09:23:18 +0000 (11:23 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 19:53:00 +0000 (12:53 -0700)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/verify_cpu.S

index e51a8695d54ef214c4959494c853622cc51b85b9..b2a9d80b64215a826ab17d03407647d4bf129d29 100644 (file)
@@ -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