* [PATCH] powerpc: export copy_page() on 32bit
@ 2008-01-01 15:36 Joseph Fannin
0 siblings, 0 replies; only message in thread
From: Joseph Fannin @ 2008-01-01 15:36 UTC (permalink / raw)
To: linuxppc-dev; +Cc: akpm
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 <jfannin@gmail.com>
---
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?
diff -aurN -x .git linux-mm.orig/arch/powerpc/kernel/ppc_ksyms.c linux-mm.patched/arch/powerpc/kernel/ppc_ksyms.c
--- linux-mm.orig/arch/powerpc/kernel/ppc_ksyms.c 2008-01-01 04:03:33.000000000 -0500
+++ linux-mm.patched/arch/powerpc/kernel/ppc_ksyms.c 2008-01-01 04:15:33.000000000 -0500
@@ -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
jfannin@gmail.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-01 15:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-01 15:36 [PATCH] powerpc: export copy_page() on 32bit Joseph Fannin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).