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>
@@ -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