ARM: 6340/1: module - additional unwind tables for exit/devexit sections
authorPhil Carmody <ext-phil.2.carmody@nokia.com>
Thu, 19 Aug 2010 14:19:04 +0000 (15:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 2 Sep 2010 14:31:35 +0000 (15:31 +0100)
commit09e56a2d076c2afb2a1932ae4283e10ef2d26ef3
treee09b4b469af8ebfac601520d81f98b1b274dda84
parente5f7772eec3ec342ecfe686ab8330ef538af134b
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>
arch/arm/include/asm/module.h
arch/arm/kernel/module.c