diff options
Diffstat (limited to 'arch/x86/realmode/rm/wakeup/wakeup_asm.S')
-rw-r--r-- | arch/x86/realmode/rm/wakeup/wakeup_asm.S | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/x86/realmode/rm/wakeup/wakeup_asm.S b/arch/x86/realmode/rm/wakeup/wakeup_asm.S index b61126cb599e..4c5c5f2bfbec 100644 --- a/arch/x86/realmode/rm/wakeup/wakeup_asm.S +++ b/arch/x86/realmode/rm/wakeup/wakeup_asm.S | |||
@@ -124,9 +124,11 @@ wakeup_start: | |||
124 | lgdtl pmode_gdt | 124 | lgdtl pmode_gdt |
125 | 125 | ||
126 | /* This really couldn't... */ | 126 | /* This really couldn't... */ |
127 | movl pmode_cr0, %eax | 127 | movl pmode_entry, %eax |
128 | movl %eax, %cr0 | 128 | movl pmode_cr0, %ecx |
129 | ljmpl *pmode_entry | 129 | movl %ecx, %cr0 |
130 | ljmpl $__KERNEL_CS, $pa_startup_32 | ||
131 | /* -> jmp *%eax in trampoline_32.S */ | ||
130 | #else | 132 | #else |
131 | jmp trampoline_data | 133 | jmp trampoline_data |
132 | #endif | 134 | #endif |