diff options
author | Anthony Felice <tony.felice@timesys.com> | 2014-05-29 15:26:59 -0400 |
---|---|---|
committer | Anthony Felice <tony.felice@timesys.com> | 2014-05-29 16:08:08 -0400 |
commit | 0ddbca20c054a9eca9d8b691caba2ec9e218b11a (patch) | |
tree | 6fffe31101448b3e098f7b0ad31915dbb27e9b9f /arch | |
parent | c7cce70b3da2015617c18f9ab24bb8010886cd63 (diff) |
ARM: gic: Remove __cpuinit attribute from gic_enable_ppi()3.0-pcl052-ts1.5
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/common/gic.c | 2 |
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; |