sparc-support-static_key-usage-in-non-module-__exit-sections.patch removed from -mm tree
The patch titled
Subject: sparc: support static_key usage in non-module __exit sections
has been removed from the -mm tree. Its filename was
sparc-support-static_key-usage-in-non-module-__exit-sections.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Jason Baron <[email protected]>
Subject: 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
---
arch/sparc/kernel/vmlinux.lds.S | 7 +++++++ 1 file changed, 7 insertions(+)
arch/sparc/kernel/vmlinux.lds.S renamed from arch/sparc/kernel/vmlinux.lds.S~sparc-support-static_key-usage-in-non-module-__exit-sections +7 -0
@@ -150,6 +150,13 @@ SECTIONS } PERCPU_SECTION(SMP_CACHE_BYTES) +#ifdef CONFIG_JUMP_LABEL + . = ALIGN(PAGE_SIZE); + .exit.text : { + EXIT_TEXT + } +#endif + . = ALIGN(PAGE_SIZE); __init_end = .; BSS_SECTION(0, 0, 0)
_
Patches currently in -mm which might be from [email protected] are