aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/module.h
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/include/asm/module.h
parent41195d236e84458bebd4fdc218610a92231ac791 (diff)
downloadkernel_goldelico_gta04-854a0d95056c265d96cb449bc97bc5ef9bbed835.zip
kernel_goldelico_gta04-854a0d95056c265d96cb449bc97bc5ef9bbed835.tar.gz
kernel_goldelico_gta04-854a0d95056c265d96cb449bc97bc5ef9bbed835.tar.bz2
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/include/asm/module.h')
-rw-r--r--arch/arc/include/asm/module.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arc/include/asm/module.h b/arch/arc/include/asm/module.h
index 234b435..518222b 100644
--- a/arch/arc/include/asm/module.h
+++ b/arch/arc/include/asm/module.h
@@ -14,6 +14,13 @@
#include <asm-generic/module.h>
+#ifdef CONFIG_ARC_DW2_UNWIND
+struct mod_arch_specific {
+ void *unw_info;
+ int unw_sec_idx;
+};
+#endif
+
#define MODULE_PROC_FAMILY "ARC700"
#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY