mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
1f8a6b658a
commit
fd0581bbb4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue