linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: smp_scu: remove __init annotation from scu_enable()
Date: Tue, 30 Aug 2011 15:40:17 +0800	[thread overview]
Message-ID: <1314690017-17590-4-git-send-email-shawn.guo@linaro.org> (raw)
In-Reply-To: <1314690017-17590-1-git-send-email-shawn.guo@linaro.org>

When Cortex-A9 MPCore resumes from Dormant or Shutdown modes,
SCU needs to be re-enabled.  This patch removes __init annotation
from function scu_enable(), so that platform resume procedure can
call it to re-enable SCU.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm/kernel/smp_scu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/kernel/smp_scu.c b/arch/arm/kernel/smp_scu.c
index 79ed5e7..5b6d536 100644
--- a/arch/arm/kernel/smp_scu.c
+++ b/arch/arm/kernel/smp_scu.c
@@ -33,7 +33,7 @@ unsigned int __init scu_get_core_count(void __iomem *scu_base)
 /*
  * Enable the SCU
  */
-void __init scu_enable(void __iomem *scu_base)
+void scu_enable(void __iomem *scu_base)
 {
 	u32 scu_ctrl;
 
-- 
1.7.4.1

      parent reply	other threads:[~2011-08-30  7:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30  7:40 [PATCH 0/3] make reinitialization of ARM core components possible Shawn Guo
2011-08-30  7:40 ` [PATCH 1/3] ARM: cache-l2x0: make the reinitialization possible Shawn Guo
2011-08-30 14:08   ` Barry Song
2011-08-30 14:52     ` Shawn Guo
2011-08-30 23:11       ` Barry Song
2011-08-30 23:48         ` Barry Song
2011-08-30  7:40 ` [PATCH 2/3] ARM: GIC: add gic_reinit() function to help ARM resume Shawn Guo
2011-08-30 15:00   ` Rob Herring
2011-08-30 15:47     ` Shawn Guo
2011-08-31  3:32       ` Shawn Guo
2011-08-30  7:40 ` Shawn Guo [this message]

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=1314690017-17590-4-git-send-email-shawn.guo@linaro.org \
    --to=shawn.guo@linaro.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).