summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorPaul Mackerras2005-10-29 14:08:55 +0200
committerPaul Mackerras2005-10-29 14:08:55 +0200
commitc1c3a554a32c3de1340887caa5729d67ed6684d6 (patch)
treed01e4d07588f4d596c81be01fb7920e1d1697265 /arch/powerpc/kernel/cputable.c
parentpowerpc: Merge maple support code to arch/powerpc/platforms/maple (diff)
downloadkernel-qcow2-linux-c1c3a554a32c3de1340887caa5729d67ed6684d6.tar.gz
kernel-qcow2-linux-c1c3a554a32c3de1340887caa5729d67ed6684d6.tar.xz
kernel-qcow2-linux-c1c3a554a32c3de1340887caa5729d67ed6684d6.zip
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 <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r--arch/powerpc/kernel/cputable.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 1fb80baebc87..b91345fa0805 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -21,9 +21,7 @@
#include <asm/cputable.h>
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