summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/module.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-22 12:33:19 +0100
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 18:46:03 +0100
commit854a0d95056c265d96cb449bc97bc5ef9bbed835 (patch)
tree798c834ae188bd570b861a47765fce8ed633f85a /arch/arc/include/asm/module.h
parentARC: SMP support (diff)
downloadlinux-854a0d95056c265d96cb449bc97bc5ef9bbed835.tar.xz
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/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 234b4354e2b3..518222bb3f8e 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