Files
linux/arch/sparc/kernel
Jason Baron 10d7227bb9 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]>
2016-08-04 08:50:07 -04:00
..
2014-05-18 19:01:30 -07:00
2014-05-18 19:01:29 -07:00
…
…
…
2015-03-19 18:54:49 -07:00
2016-01-31 11:06:24 -08:00
2015-05-05 13:35:39 -06:00
2016-07-27 22:53:17 -07:00
…
2014-08-26 13:45:55 -04:00
…
…
2015-03-19 10:17:22 -05:00
2014-08-26 13:45:55 -04:00
2015-03-19 18:54:49 -07:00
…
2013-06-13 22:12:14 +01:00
…
…
2016-01-31 11:06:24 -08:00
…
2014-08-26 13:45:55 -04:00
2014-07-21 22:27:56 -07:00
2016-03-20 21:28:58 -07:00
2014-09-30 14:17:08 -07:00
…
…