From: Paul Mackerras Date: Sat, 29 Oct 2005 12:08:55 +0000 (+1000) Subject: powerpc: 32-bit needs cur_cpu_spec exported too X-Git-Tag: v2.6.15-rc1~59^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1c3a554a32c3de1340887caa5729d67ed6684d6;p=platform%2Fkernel%2Flinux-3.10.git powerpc: 32-bit needs cur_cpu_spec exported too Somehow we ended up with an #ifdef CONFIG_PPC64 around the export of cur_cpu_spec, but raid6 as a module needs it on ppc32 as well as ppc64. Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 1fb80ba..b91345f 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -21,9 +21,7 @@ #include struct cpu_spec* cur_cpu_spec = NULL; -#ifdef CONFIG_PPC64 EXPORT_SYMBOL(cur_cpu_spec); -#endif /* NOTE: * Unlike ppc32, ppc64 will only call this once for the boot CPU, it's