summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-11-06 10:29:12 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-09 07:50:07 +0100
commitacc017737f8ec65740be798e8daea257eb86f0aa (patch)
treeb325e84ea6181a3eb193c211d68bb12533a5b690 /arch/arm/cpu
parentd9c2cfd534d2ebda662f2656b2e8076b255b4987 (diff)
downloadbarebox-acc017737f8ec65740be798e8daea257eb86f0aa.tar.gz
barebox-acc017737f8ec65740be798e8daea257eb86f0aa.tar.xz
ARM: don't let the unwinder depend on exception handling
To be able to use dump_stack() without support exception handling the definition of dump_stack has to move to a file that is actually compiled without ARM_EXCEPTIONS. Fixes: d332597c7c16 ("ARM: make exception handling optional") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/interrupts.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/cpu/interrupts.c b/arch/arm/cpu/interrupts.c
index c437af7188..fb4bb78dae 100644
--- a/arch/arm/cpu/interrupts.c
+++ b/arch/arm/cpu/interrupts.c
@@ -71,13 +71,6 @@ void show_regs (struct pt_regs *regs)
#endif
}
-#ifdef CONFIG_ARM_UNWIND
-void dump_stack(void)
-{
- unwind_backtrace(NULL);
-}
-#endif
-
static void __noreturn do_exception(struct pt_regs *pt_regs)
{
show_regs(pt_regs);