Skip to content

Commit

Permalink
powerpc: 32-bit needs cur_cpu_spec exported too
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mackerras committed Oct 29, 2005
1 parent 0cb7b2a commit c1c3a55
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/cputable.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1c3a55

Please sign in to comment.