[PATCH] powerpc/sysdev: Fix a mpic section mismatch for MPC85xx
Christian Engelmayer
cengelma at gmx.at
Mon Dec 16 05:38:56 EST 2013
Moved arch/powerpc/sysdev/mpic.c : smp_mpic_probe() out of the __init section.
It is referenced by arch/powerpc/platforms/85xx/smp.c : smp_85xx_setup_cpu().
Signed-off-by: Christian Engelmayer <cengelma at gmx.at>
---
arch/powerpc/sysdev/mpic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c
index 0e166ed..72c1e65 100644
--- a/arch/powerpc/sysdev/mpic.c
+++ b/arch/powerpc/sysdev/mpic.c
@@ -1924,7 +1924,7 @@ void smp_mpic_message_pass(int cpu, int msg)
msg * MPIC_INFO(CPU_IPI_DISPATCH_STRIDE), physmask);
}
-int __init smp_mpic_probe(void)
+int smp_mpic_probe(void)
{
int nr_cpus;
--
1.8.3.2
More information about the Linuxppc-dev
mailing list