diff --git a/src/arch/i386/init/crt0.S.lb b/src/arch/i386/init/crt0.S.lb index 67ef91059b..1b4ce4a0a1 100644 --- a/src/arch/i386/init/crt0.S.lb +++ b/src/arch/i386/init/crt0.S.lb @@ -163,7 +163,7 @@ decompr_end_n2b: CONSOLE_DEBUG_TX_STRING($str_pre_main) leal _iseg, %edi - jmp %edi + jmp *%edi .Lhlt: intel_chip_post_macro(0xee) /* post fe */ diff --git a/src/cpu/amd/car/copy_and_run.c b/src/cpu/amd/car/copy_and_run.c index 9c6508b8d7..55068c5511 100644 --- a/src/cpu/amd/car/copy_and_run.c +++ b/src/cpu/amd/car/copy_and_run.c @@ -129,7 +129,7 @@ static void copy_and_run(unsigned cpu_reset) __asm__ volatile ( "cli\n\t" "leal _iseg, %edi\n\t" - "jmp %edi\n\t" + "jmp *%edi\n\t" ); }