summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorPhil Carmody2010-08-19 16:19:04 +0200
committerRussell King2010-09-02 16:31:35 +0200
commit09e56a2d076c2afb2a1932ae4283e10ef2d26ef3 (patch)
treee09b4b469af8ebfac601520d81f98b1b274dda84 /arch/arm/include/asm
parentARM: 6339/1: module - simplify unwind table handling (diff)
downloadkernel-qcow2-linux-09e56a2d076c2afb2a1932ae4283e10ef2d26ef3.tar.gz
kernel-qcow2-linux-09e56a2d076c2afb2a1932ae4283e10ef2d26ef3.tar.xz
kernel-qcow2-linux-09e56a2d076c2afb2a1932ae4283e10ef2d26ef3.zip
ARM: 6340/1: module - additional unwind tables for exit/devexit sections
Without these, exit functions cannot be stack-traced, so to speak. This implies that module unloads that perform allocations (don't laugh) will cause noisy warnings on the console when kmemleak is enabled, as it presumes that all code's call chains are traceable. Similarly, BUGs and WARN_ONs will give additional console spam. Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/module.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/module.h b/arch/arm/include/asm/module.h
index 6dcff0f7f8d7..cbb0bc295d2b 100644
--- a/arch/arm/include/asm/module.h
+++ b/arch/arm/include/asm/module.h
@@ -17,6 +17,8 @@ enum {
ARM_SEC_INIT,
ARM_SEC_DEVINIT,
ARM_SEC_CORE,
+ ARM_SEC_EXIT,
+ ARM_SEC_DEVEXIT,
ARM_SEC_MAX,
};
struct mod_arch_specific {