summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/setup.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-22 17:03:19 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 23:16:03 +0530
commit854a0d95056c265d96cb449bc97bc5ef9bbed835 (patch)
tree798c834ae188bd570b861a47765fce8ed633f85a /arch/arc/kernel/setup.c
parent41195d236e84458bebd4fdc218610a92231ac791 (diff)
downloadblackbird-op-linux-854a0d95056c265d96cb449bc97bc5ef9bbed835.tar.gz
blackbird-op-linux-854a0d95056c265d96cb449bc97bc5ef9bbed835.zip
ARC: DWARF2 .debug_frame based stack unwinder
-Originally written by Rajeshwar Ranga -Derived off of generic unwinder in 2.6.19 and adapted to ARC Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Rajeshwar Ranga <rajeshwar.ranga@gmail.com>
Diffstat (limited to 'arch/arc/kernel/setup.c')
-rw-r--r--arch/arc/kernel/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 4026b5a004d2..6e3996cb9df9 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -23,6 +23,7 @@
#include <asm/irq.h>
#include <asm/arcregs.h>
#include <asm/prom.h>
+#include <asm/unwind.h>
#define FIX_PTR(x) __asm__ __volatile__(";" : "+r"(x))
@@ -105,6 +106,8 @@ void __init setup_arch(char **cmdline_p)
conswitchp = &dummy_con;
#endif
+ arc_unwind_init();
+ arc_unwind_setup();
}
/*
OpenPOWER on IntegriCloud