From: Claudio.Fontana@huawei.com (Claudio Fontana)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1 RESEND 2] ARM: plat-versatile: move secondary CPU startup out of .init.
Date: Tue, 27 Nov 2012 09:43:24 +0100 [thread overview]
Message-ID: <50B47D2C.9080105@huawei.com> (raw)
In-Reply-To: <50B47C31.2040709@huawei.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: Claudio Fontana <Claudio.Fontana@huawei.com>
To: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Christoffer Dall <c.dall@virtualopensystems.com>
Subject: [PATCH 1/1 RESEND 2] ARM: plat-versatile: move secondary CPU startup out of .init.
Date: Tue, 27 Nov 2012 09:43:24 +0100 [thread overview]
Message-ID: <50B47D2C.9080105@huawei.com> (raw)
In-Reply-To: <50B47C31.2040709@huawei.com>
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
next prev parent reply other threads:[~2012-11-27 8:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-27 8:39 [PATCH 0/1 RESEND 2] ARM: plat-versatile: move secondary CPU startup out of .init Claudio Fontana
2012-11-27 8:39 ` Claudio Fontana
2012-11-27 8:43 ` Claudio Fontana [this message]
2012-11-27 8:43 ` [PATCH 1/1 " Claudio Fontana
2012-12-12 8:59 ` [PATCH RESEND 3] ARM: plat-versatile: move secondary CPU startup into cpuinit Claudio Fontana
2012-12-12 8:59 ` Claudio Fontana
2012-12-18 8:42 ` [PATCH RESEND 4] " Claudio Fontana
2012-12-18 8:42 ` Claudio Fontana
2012-12-30 4:09 ` Christoffer Dall
2012-12-30 4:09 ` Christoffer Dall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50B47D2C.9080105@huawei.com \
--to=claudio.fontana@huawei.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.