aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/head_32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
index e65ddc62e113..fe79573c84b9 100644
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -410,6 +410,7 @@ enable_paging:
410/* 410/*
411 * Check if it is 486 411 * Check if it is 486
412 */ 412 */
413 movb $4,X86 # at least 486
413 cmpl $-1,X86_CPUID 414 cmpl $-1,X86_CPUID
414 je is486 415 je is486
415 416
@@ -437,7 +438,6 @@ enable_paging:
437 movl %edx,X86_CAPABILITY 438 movl %edx,X86_CAPABILITY
438 439
439is486: 440is486:
440 movb $4,X86
441 movl $0x50022,%ecx # set AM, WP, NE and MP 441 movl $0x50022,%ecx # set AM, WP, NE and MP
442 movl %cr0,%eax 442 movl %cr0,%eax
443 andl $0x80000011,%eax # Save PG,PE,ET 443 andl $0x80000011,%eax # Save PG,PE,ET