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:33:52 -0400
commit605ed2a3f35e5cf8136442e9d90b6e15e75cb91a (patch)
tree169a17a57ba475aaa13ca099d20462a75cad4395
parentb2faeb5472fe71b505a103388b8a8540dbd47134 (diff)
ARM: gic: Remove __cpuinit attribute from gic_enable_ppi()
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;