Skip to contentSkip to conversation

arm-jump-label-may-reference-text-in-__exit.patch removed from -mm tree

merged [email protected] 1 participant 1 message Aug 4, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: arm: jump label may reference text in __exit
has been removed from the -mm tree. Its filename was
arm-jump-label-may-reference-text-in-__exit.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jason Baron <[email protected]>
Subject: arm: jump label may reference text in __exit

The jump table can reference text found in an __exit section. Thus, instead of discarding it at build time, include EXIT_TEXT as part of __init and it will be released when the system boots.

Cc Arnd Bergmann <[email protected]>
Cc "David S. Miller" <[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]>

---

 arch/arm/kernel/vmlinux.lds.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/kernel/vmlinux.lds.S renamed from arch/arm/kernel/vmlinux.lds.S~arm-jump-label-may-reference-text-in-__exit +1 -1
diff -puN arch/arm/kernel/vmlinux.lds.S~arm-jump-label-may-reference-text-in-__exit arch/arm/kernel/vmlinux.lds.S
@@ -44,7 +44,7 @@
 #endif
 
 #if (defined(CONFIG_SMP_ON_UP) && !defined(CONFIG_DEBUG_SPINLOCK)) || \
-	defined(CONFIG_GENERIC_BUG)
+	defined(CONFIG_GENERIC_BUG) || defined(CONFIG_JUMP_LABEL)
 #define ARM_EXIT_KEEP(x)	x
 #define ARM_EXIT_DISCARD(x)
 #else

_

Patches currently in -mm which might be from [email protected] are