Explorar o código

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>
Paul Mackerras %!s(int64=19) %!d(string=hai) anos
pai
achega
c1c3a554a3
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      arch/powerpc/kernel/cputable.c

+ 0 - 2
arch/powerpc/kernel/cputable.c

@@ -21,9 +21,7 @@
 #include <asm/cputable.h>
 #include <asm/cputable.h>
 
 
 struct cpu_spec* cur_cpu_spec = NULL;
 struct cpu_spec* cur_cpu_spec = NULL;
-#ifdef CONFIG_PPC64
 EXPORT_SYMBOL(cur_cpu_spec);
 EXPORT_SYMBOL(cur_cpu_spec);
-#endif
 
 
 /* NOTE:
 /* NOTE:
  * Unlike ppc32, ppc64 will only call this once for the boot CPU, it's
  * Unlike ppc32, ppc64 will only call this once for the boot CPU, it's