aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorJason Baron <[email protected]>2016-08-03 20:46:27 +0000
committerLinus Torvalds <[email protected]>2016-08-04 12:50:07 +0000
commit10d7227bb911e5ee788fb8f82b1005b821bb7847 (patch)
tree2f30e4e4dd430cc713ef5c30ba2f8a5e952ef617 /lib/dynamic_debug.c
parentpowerpc: add explicit #include <asm/asm-compat.h> for jump label (diff)
downloadkernel-10d7227bb911e5ee788fb8f82b1005b821bb7847.tar.gz
kernel-10d7227bb911e5ee788fb8f82b1005b821bb7847.zip
sparc: support static_key usage in non-module __exit sections
The jump table can reference text found in an __exit section. Thus, instead of discarding it at build/link time, include EXIT_TEXT as part of __init and release it at system boot time. Without this patch the link fails with: `.exit.text' referenced in section `__jump_table' of xxx.o: defined in discarded section `.exit.text' of xxx.o Link: http://lkml.kernel.org/r/d822da427ab07a02a394602eca687104ff682f83.1467837322.git.jbaron@akamai.com Signed-off-by: Jason Baron <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Chris Metcalf <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Joe Perches <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions