tree 868c53b157ceacf5be84004f9ecc464b794256c2 parent 62d75f3753647656323b0365faa43fc1a8f7be97 author Peter Chubb <[EMAIL PROTECTED]> Tue, 23 Aug 2005 07:50:00 -0700 committer Tony Luck <[EMAIL PROTECTED]> Tue, 23 Aug 2005 21:41:56 -0700
[IA64] Fix simulator boot (for real this time). Thanks to Stephane, we've now worked out the real cause of the `Linux will not boot on simulator' problem. Turns out it's a stack overflow because the stack pointer wasn't being initialised properly in boot_head.S (it was being initialised to the lowest instead of the highest address of the stack, so the first push started to overwrite data in the BSS). Signed-off-by: Peter Chubb <[EMAIL PROTECTED]> Signed-off-by: Tony Luck <[EMAIL PROTECTED]> arch/ia64/hp/sim/boot/boot_head.S | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/hp/sim/boot/boot_head.S b/arch/ia64/hp/sim/boot/boot_head.S --- a/arch/ia64/hp/sim/boot/boot_head.S +++ b/arch/ia64/hp/sim/boot/boot_head.S @@ -22,7 +22,7 @@ GLOBAL_ENTRY(_start) .save rp, r0 .body movl gp = __gp - movl sp = stack_mem + movl sp = stack_mem+16384-16 bsw.1 br.call.sptk.many rp=start_bootloader END(_start) - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html