powerpc: 32-bit needs cur_cpu_spec exported too
authorPaul Mackerras <paulus@samba.org>
Sat, 29 Oct 2005 12:08:55 +0000 (22:08 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 29 Oct 2005 12:08:55 +0000 (22:08 +1000)
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>
arch/powerpc/kernel/cputable.c

index 1fb80ba..b91345f 100644 (file)
@@ -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