diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/boot/pmjump.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/boot/pmjump.S b/arch/x86/boot/pmjump.S index 2e559233725a..26baeab3a4d4 100644 --- a/arch/x86/boot/pmjump.S +++ b/arch/x86/boot/pmjump.S | |||
@@ -31,14 +31,14 @@ protected_mode_jump: | |||
31 | xorl %ebx, %ebx # Flag to indicate this is a boot | 31 | xorl %ebx, %ebx # Flag to indicate this is a boot |
32 | movl %edx, %esi # Pointer to boot_params table | 32 | movl %edx, %esi # Pointer to boot_params table |
33 | movl %eax, 2f # Patch ljmpl instruction | 33 | movl %eax, 2f # Patch ljmpl instruction |
34 | jmp 1f # Short jump to flush instruction q. | ||
35 | 34 | ||
36 | 1: | ||
37 | movw $__BOOT_DS, %cx | 35 | movw $__BOOT_DS, %cx |
38 | 36 | ||
39 | movl %cr0, %edx | 37 | movl %cr0, %edx |
40 | orb $1, %dl # Protected mode (PE) bit | 38 | orb $1, %dl # Protected mode (PE) bit |
41 | movl %edx, %cr0 | 39 | movl %edx, %cr0 |
40 | jmp 1f # Short jump to serialize on 386/486 | ||
41 | 1: | ||
42 | 42 | ||
43 | movw %cx, %ds | 43 | movw %cx, %ds |
44 | movw %cx, %es | 44 | movw %cx, %es |