diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-12-11 18:04:22 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-12-17 11:10:23 +0530 |
commit | bc79c9a7216562a2035d2f64f73626613c1300d0 (patch) | |
tree | 7dceeabe3e3ec851813eb6f752e15eeb95bc7f58 /arch/arc/kernel/setup.c | |
parent | ff1c0b6a795bce744527bc10c8268127ed818b42 (diff) | |
download | linux-next-bc79c9a7216562a2035d2f64f73626613c1300d0.tar.gz |
ARC: dw2 unwind: Reinstante unwinding out of modules
The fix which removed linear searching of dwarf (because binary lookup
data always exists) missed out on the fact that modules don't get the
binary lookup tables info. This caused unwinding out of modules to stop
working.
So add binary lookup header setup (equivalent of eh_frame_hdr setup) to
modules as well.
While at it, confine the header setup to within unwinder code,
reducing one API exposed out of unwinder code.
Fixes: 2e22502c080f ARC: dw2 unwind: Remove falllback linear search thru FDE entries
Cc: <stable@vger.kernel.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/setup.c')
-rw-r--r-- | arch/arc/kernel/setup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c index c33e77c0ad3e..e1b87444ea9a 100644 --- a/arch/arc/kernel/setup.c +++ b/arch/arc/kernel/setup.c @@ -429,7 +429,6 @@ void __init setup_arch(char **cmdline_p) #endif arc_unwind_init(); - arc_unwind_setup(); } static int __init customize_machine(void) |