irq: init IRQ_STACK_START_IN
IRQ_STACK_START_IN is default 0x0badc0de which is a invalid address, this patch makes all exceptions routine work normally. Change-Id: I3f4d75b90d840f7ea1cb7a2e1cbc7ad452aef15b Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
9e9e0e07b5
commit
c15709b516
|
|
@ -293,6 +293,7 @@ int arch_interrupt_init(void)
|
|||
|
||||
/* stack has been reserved in: arch_reserve_stacks() */
|
||||
IRQ_STACK_START = gd->irq_sp;
|
||||
IRQ_STACK_START_IN = gd->irq_sp;
|
||||
|
||||
__asm__ __volatile__("mrs %0, cpsr\n"
|
||||
: "=r" (cpsr)
|
||||
|
|
|
|||
Loading…
Reference in New Issue