From 0ddbca20c054a9eca9d8b691caba2ec9e218b11a Mon Sep 17 00:00:00 2001 From: Anthony Felice Date: Thu, 29 May 2014 15:26:59 -0400 Subject: 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 --- arch/arm/common/gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3