From: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
To: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, linaro-dev@lists.linaro.org,
Sanjay Singh Rawat <sanjay.rawat@linaro.org>
Subject: [RFC PATCH 2/6] ARM: imx: use the core cpu hotplug functions
Date: Mon, 20 May 2013 12:03:24 +0530 [thread overview]
Message-ID: <1369031608-27347-3-git-send-email-sanjay.rawat@linaro.org> (raw)
In-Reply-To: <1369031608-27347-1-git-send-email-sanjay.rawat@linaro.org>
Generic arm cpu hotplug related functions are moved to core hotplug code,
remove the functions from the platform code.
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
---
arch/arm/mach-imx/hotplug.c | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/arch/arm/mach-imx/hotplug.c b/arch/arm/mach-imx/hotplug.c
index 3daf1ed..280c6f3 100644
--- a/arch/arm/mach-imx/hotplug.c
+++ b/arch/arm/mach-imx/hotplug.c
@@ -14,30 +14,10 @@
#include <linux/jiffies.h>
#include <asm/cp15.h>
#include <asm/proc-fns.h>
+#include <asm/hotplug.h>
#include "common.h"
-static inline void cpu_enter_lowpower(void)
-{
- unsigned int v;
-
- asm volatile(
- "mcr p15, 0, %1, c7, c5, 0\n"
- " mcr p15, 0, %1, c7, c10, 4\n"
- /*
- * Turn off coherency
- */
- " mrc p15, 0, %0, c1, c0, 1\n"
- " bic %0, %0, %3\n"
- " mcr p15, 0, %0, c1, c0, 1\n"
- " mrc p15, 0, %0, c1, c0, 0\n"
- " bic %0, %0, %2\n"
- " mcr p15, 0, %0, c1, c0, 0\n"
- : "=&r" (v)
- : "r" (0), "Ir" (CR_C), "Ir" (0x40)
- : "cc");
-}
-
/*
* platform-specific code to shutdown a CPU
*
--
1.7.9.5
next prev parent reply other threads:[~2013-05-20 6:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 6:33 [RFC PATCH 0/6] ARM: cpuhotplug: move common functions to core Sanjay Singh Rawat
2013-05-20 6:33 ` [RFC PATCH 1/6] ARM: cpuhotplug: move common hotplug related " Sanjay Singh Rawat
2013-05-20 6:33 ` Sanjay Singh Rawat [this message]
2013-05-20 13:53 ` [RFC PATCH 2/6] ARM: imx: use the core cpu hotplug functions Russell King - ARM Linux
2013-05-20 6:33 ` [RFC PATCH 3/6] ARM: RealView: " Sanjay Singh Rawat
2013-05-20 6:33 ` [RFC PATCH 4/6] ARM: spear: " Sanjay Singh Rawat
2013-05-20 6:52 ` Viresh Kumar
2013-05-20 6:33 ` [RFC PATCH 5/6] ARM: vexpress: " Sanjay Singh Rawat
2013-05-20 6:33 ` [RFC PATCH 6/6] ARM: EXYNOS: " Sanjay Singh Rawat
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=1369031608-27347-3-git-send-email-sanjay.rawat@linaro.org \
--to=sanjay.rawat@linaro.org \
--cc=linaro-dev@lists.linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®