* [PATCH 1/1 RESEND] ARM: plat-versatile: move secondary CPU startup code out of .init.
@ 2012-11-16 12:16 ` Claudio Fontana
0 siblings, 0 replies; 2+ messages in thread
From: Claudio Fontana @ 2012-11-16 12:16 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
Tested-by: Claudio Fontana <claudio.fontana@huawei.com>
diff --git a/arch/arm/plat-versatile/headsmp.S b/arch/arm/plat-versatile/headsmp.S
index dd703ef..19fe180 100644
--- a/arch/arm/plat-versatile/headsmp.S
+++ b/arch/arm/plat-versatile/headsmp.S
@@ -11,7 +11,7 @@
#include <linux/linkage.h>
#include <linux/init.h>
- __INIT
+ __CPUINIT
/*
* Realview/Versatile Express specific entry point for secondary CPUs.
--
1.7.12.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 1/1 RESEND] ARM: plat-versatile: move secondary CPU startup code out of .init.
@ 2012-11-16 12:16 ` Claudio Fontana
0 siblings, 0 replies; 2+ messages in thread
From: Claudio Fontana @ 2012-11-16 12:16 UTC (permalink / raw)
To: Russell King; +Cc: linux-arm-kernel, linux-kernel
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.
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
Tested-by: Claudio Fontana <claudio.fontana@huawei.com>
diff --git a/arch/arm/plat-versatile/headsmp.S b/arch/arm/plat-versatile/headsmp.S
index dd703ef..19fe180 100644
--- a/arch/arm/plat-versatile/headsmp.S
+++ b/arch/arm/plat-versatile/headsmp.S
@@ -11,7 +11,7 @@
#include <linux/linkage.h>
#include <linux/init.h>
- __INIT
+ __CPUINIT
/*
* Realview/Versatile Express specific entry point for secondary CPUs.
--
1.7.12.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-16 12:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 12:16 [PATCH 1/1 RESEND] ARM: plat-versatile: move secondary CPU startup code out of .init Claudio Fontana
2012-11-16 12:16 ` Claudio Fontana
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.