summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-29 22:08:55 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-29 22:08:55 +1000
commitc1c3a554a32c3de1340887caa5729d67ed6684d6 (patch)
treed01e4d07588f4d596c81be01fb7920e1d1697265 /arch/powerpc
parent0cb7b2afd79c5715cbd1d4eee826571fb17fdd65 (diff)
downloadlinux-c1c3a554a32c3de1340887caa5729d67ed6684d6.tar.gz
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')
-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