diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-04 18:11:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-04 18:11:16 +0200 |
commit | 1f9c52e16b5f67131440ddd51bd0cff27e45ea10 (patch) | |
tree | d15f176fb64b37af81b2390a6bf835f1f5999725 /arch/x86/kernel/head_32.S | |
parent | Merge branches 'x86-boot-for-linus' and 'x86-cleanups-for-linus' of git://git... (diff) | |
parent | x86: Fix override new_cpu_data.x86 with 486 (diff) | |
download | linux-1f9c52e16b5f67131440ddd51bd0cff27e45ea10.tar.xz linux-1f9c52e16b5f67131440ddd51bd0cff27e45ea10.zip |
Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cpu feature fixes from Ingo Molnar:
"Two small cpufeature support updates"
* 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86: Fix override new_cpu_data.x86 with 486
x86, cpufeature: Use new CC_HAVE_ASM_GOTO
Diffstat (limited to 'arch/x86/kernel/head_32.S')
-rw-r--r-- | arch/x86/kernel/head_32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index 5dd87a89f011..81ba27679f18 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S @@ -409,6 +409,7 @@ enable_paging: /* * Check if it is 486 */ + movb $4,X86 # at least 486 cmpl $-1,X86_CPUID je is486 @@ -436,7 +437,6 @@ enable_paging: movl %edx,X86_CAPABILITY is486: - movb $4,X86 movl $0x50022,%ecx # set AM, WP, NE and MP movl %cr0,%eax andl $0x80000011,%eax # Save PG,PE,ET |