Selaa lähdekoodia

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 19 vuotta sitten
vanhempi
commit
c1c3a554a3
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      arch/powerpc/kernel/cputable.c

+ 0 - 2
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