summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Felice <tony.felice@timesys.com>2014-05-29 15:26:59 -0400
committerAnthony Felice <tony.felice@timesys.com>2014-05-29 15:49:29 -0400
commit954efe8b86c4c89abbe00c483a703d21b01db111 (patch)
treea17ec7a8c4e78df10d8ca7025fa15227659075a8
parent288843b282b9c2b1b288b23317b08a62b21a013d (diff)
ARM: gic: Remove __cpuinit attribute from gic_enable_ppi()3.0-pcm052-ts2.10
The gic_enable_ppi() function is used with the global timer when resuming from STOP mode on the Vybrid Tower. With the __cpuinit attribute set, the gic_enable_ppi() function would have already been freed once the kernel finishes loading, causing a kernel oops when attempting to resume from STOP mode. Signed-off-by: Anthony Felice <tony.felice@timesys.com>
-rw-r--r--arch/arm/common/gic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/gic.c b/arch/arm/common/gic.c
index ab8c07d48a26..a03e56eeecb7 100644
--- a/arch/arm/common/gic.c
+++ b/arch/arm/common/gic.c
@@ -376,7 +376,7 @@ void __cpuinit gic_secondary_init(unsigned int gic_nr)
gic_cpu_init(&gic_data[gic_nr]);
}
-void __cpuinit gic_enable_ppi(unsigned int irq)
+void gic_enable_ppi(unsigned int irq)
{
unsigned long flags;