Skip to contentSkip to conversation

ARM: plat-versatile: move secondary CPU startup code out of .init for hotplug

PATCH Superseded Claudio Fontana 1 participant 1 message Nov 8, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: plat-versatile: move secondary CPU startup code out of .init for hotplug

Using __CPUINIT instead of __INIT puts the secondary CPU startup code into the "right" section: it will not be freed in hotplug configurations, allowing hot-add of cpus, while still getting freed in non-hotplug configs.

---
 arch/arm/plat-versatile/headsmp.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/plat-versatile/headsmp.S +1 -1
index dd703ef..19fe180 100644
@@ -11,7 +11,7 @@
 #include <linux/linkage.h>
 #include <linux/init.h>
 
-	__INIT
+	__CPUINIT
 
 /*
  * Realview/Versatile Express specific entry point for secondary CPUs.
Signature · 1 line
1.7.12.1