projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm/dts/ls2085a: Add DSPI dts node
[oweals/u-boot.git]
/
arch
/
avr32
/
cpu
/
exception.c
diff --git
a/arch/avr32/cpu/exception.c
b/arch/avr32/cpu/exception.c
index 5d1bc689f85d4f9977d490a23d30dfd7168966f8..d6991f6668d3326bfaf205719f9f421bbfff7f25 100644
(file)
--- a/
arch/avr32/cpu/exception.c
+++ b/
arch/avr32/cpu/exception.c
@@
-96,11
+96,11
@@
void do_unknown_exception(unsigned int ecr, struct pt_regs *regs)
printf("CPU Mode: %s\n", cpu_modes[mode]);
/* Avoid exception loops */
printf("CPU Mode: %s\n", cpu_modes[mode]);
/* Avoid exception loops */
- if (regs->sp < (gd->
arch.stack_end - CONFIG_STACKSIZE)
-
|| regs->sp >= gd->arch.stack_end
)
+ if (regs->sp < (gd->
start_addr_sp - CONFIG_STACKSIZE) ||
+
regs->sp >= gd->start_addr_sp
)
printf("\nStack pointer seems bogus, won't do stack dump\n");
else
printf("\nStack pointer seems bogus, won't do stack dump\n");
else
- dump_mem("\nStack: ", regs->sp, gd->
arch.stack_end
);
+ dump_mem("\nStack: ", regs->sp, gd->
start_addr_sp
);
panic("Unhandled exception\n");
}
panic("Unhandled exception\n");
}