|
@@ -309,9 +309,9 @@ void boot_zimage(void *setup_base, void *load_address)
|
|
* itself in arch/i386/cpu/cpu.c.
|
|
* itself in arch/i386/cpu/cpu.c.
|
|
*/
|
|
*/
|
|
__asm__ __volatile__ (
|
|
__asm__ __volatile__ (
|
|
- "movl $0, %%ebp \n"
|
|
|
|
- "cli \n"
|
|
|
|
- "jmp %[kernel_entry] \n"
|
|
|
|
|
|
+ "movl $0, %%ebp\n"
|
|
|
|
+ "cli\n"
|
|
|
|
+ "jmp *%[kernel_entry]\n"
|
|
:: [kernel_entry]"a"(load_address),
|
|
:: [kernel_entry]"a"(load_address),
|
|
[boot_params] "S"(setup_base),
|
|
[boot_params] "S"(setup_base),
|
|
"b"(0), "D"(0)
|
|
"b"(0), "D"(0)
|