diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-05-30 22:18:16 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-06-21 00:31:38 +0000 |
commit | 8ea875e72d2dd66eea393f22c6bf4707f92f4a50 (patch) | |
tree | a455b536c19657ddaf1519f391a7346cf156f870 /arch/arm/mach-mvebu/pmsu.c | |
parent | bbb92284b6c821e9434223d437fbd10b8a24c294 (diff) | |
download | talos-obmc-linux-8ea875e72d2dd66eea393f22c6bf4707f92f4a50.tar.gz talos-obmc-linux-8ea875e72d2dd66eea393f22c6bf4707f92f4a50.zip |
ARM: mvebu: export PMSU idle enter/exit functions
The PMSU idle enter/exit functions will be needed for the CPU hotplug
implementation on Armada XP, so this commit removes their static
qualifier, and adds the appropriate prototypes in armada-370-xp.h.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1401481098-23326-4-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/pmsu.c')
-rw-r--r-- | arch/arm/mach-mvebu/pmsu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c index 73e662971185..27d98e7e7ab8 100644 --- a/arch/arm/mach-mvebu/pmsu.c +++ b/arch/arm/mach-mvebu/pmsu.c @@ -148,7 +148,7 @@ static void armada_370_xp_cpu_resume(void) } /* No locking is needed because we only access per-CPU registers */ -static int armada_370_xp_pmsu_idle_enter(unsigned long deepidle) +int armada_370_xp_pmsu_idle_enter(unsigned long deepidle) { unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); u32 reg; @@ -219,7 +219,7 @@ static int armada_370_xp_cpu_suspend(unsigned long deepidle) } /* No locking is needed because we only access per-CPU registers */ -static void armada_370_xp_pmsu_idle_exit(void) +void armada_370_xp_pmsu_idle_exit(void) { unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); u32 reg; |