powerpc: export copy_page() on 32bit
PATCH 1/1 powerpc: export copy_page() on 32bit
Export copy_page() on 32bit powerpc; unionfs needs it.
Unionfs already builds as a module on 64bit powerpc, so the export is placed within an existing CONFIG_PPC32 #ifdef.
Signed-off-by Joseph Fannin <[email protected]>
---
I ran into this in the -mm tree; it's not new to 2.6.24-rc6-mm1.
I haven't been able to find any evidence that copy_page() is exported with 64bit; maybe this is because copy_page there is a wrapper around the exported copy_4K_page() and gets optimized away, or maybe I just don't know where to look.
If copy_page() is exported for 64bit somewhere, this might not be the right thing?
arch/powerpc/kernel/ppc_ksyms.c +1 -0
@@ -59,6 +59,7 @@extern int sys_sigreturn (struct pt_regs *regs);EXPORT_SYMBOL (clear_pages); +EXPORT_SYMBOL (copy_page);EXPORT_SYMBOL (ISA_DMA_THRESHOLD );EXPORT_SYMBOL (DMA_MODE_READ );EXPORT_SYMBOL (DMA_MODE_WRITE );
--
Joseph Fannin
[email protected]