summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2013-08-29 00:08:01 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-09-02 13:49:47 +0100
commit849b882b52df0f276d9ffded01d85654aa0da422 (patch)
tree67714bc2487f389a78a6938d5773f13b59072f38 /arch/arm/include
parent6a7d2c625656df5f8ad6e33aa3d164eefb1df8dc (diff)
downloadop-kernel-dev-849b882b52df0f276d9ffded01d85654aa0da422.zip
op-kernel-dev-849b882b52df0f276d9ffded01d85654aa0da422.tar.gz
ARM: 7829/1: Add ".text.unlikely" and ".text.hot" to arm unwind tables
It appears that gcc may put some code in ".text.unlikely" or ".text.hot" sections. Right now those aren't accounted for in unwind tables. Add them. I found some docs about this at: http://gcc.gnu.org/onlinedocs/gcc-4.6.2/gcc.pdf Without this, if you have slub_debug turned on, you can get messages that look like this: unwind: Index not found 7f008c50 Signed-off-by: Doug Anderson <dianders@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-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 0d3a28d..ed690c4 100644
--- a/arch/arm/include/asm/module.h
+++ b/arch/arm/include/asm/module.h
@@ -12,6 +12,8 @@ enum {
ARM_SEC_CORE,
ARM_SEC_EXIT,
ARM_SEC_DEVEXIT,
+ ARM_SEC_HOT,
+ ARM_SEC_UNLIKELY,
ARM_SEC_MAX,
};
OpenPOWER on IntegriCloud