ARM: 7829/1: Add ".text.unlikely" and ".text.hot" to arm unwind tables
authorDouglas Anderson <dianders@chromium.org>
Wed, 28 Aug 2013 23:08:01 +0000 (00:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Sep 2013 12:49:47 +0000 (13:49 +0100)
commit849b882b52df0f276d9ffded01d85654aa0da422
tree67714bc2487f389a78a6938d5773f13b59072f38
parent6a7d2c625656df5f8ad6e33aa3d164eefb1df8dc
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>
arch/arm/include/asm/module.h
arch/arm/kernel/module.c