aboutsummaryrefslogtreecommitdiff
path: root/arch/ia64/kernel/ia64_ksyms.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-12-07 16:10:19 -0800
committerTony Luck <tony.luck@intel.com>2007-12-07 16:10:19 -0800
commitbdc2619ab95d45d434c16d5c216bc6243761f6fb (patch)
treec82800cebc1224b51adec9045ea0125e9a946c51 /arch/ia64/kernel/ia64_ksyms.c
parentff08e657f3e7224d090dd816e00cea2c110575c4 (diff)
[IA64] export copy_page() to modules
With the unionfs patch applied I get ERROR: "copy_page" [fs/unionfs/unionfs.ko] undefined! the other architectures (some, at least) export copy_page() so I guess ia64 should also do so. To do this we need to move the copy_page() functions out of lib.a and into built-in.o and add the EXPORT_SYMBOL(). Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/ia64_ksyms.c')
-rw-r--r--arch/ia64/kernel/ia64_ksyms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ia64/kernel/ia64_ksyms.c b/arch/ia64/kernel/ia64_ksyms.c
index bd17190bebb..c3b4412ccc6 100644
--- a/arch/ia64/kernel/ia64_ksyms.c
+++ b/arch/ia64/kernel/ia64_ksyms.c
@@ -63,6 +63,9 @@ EXPORT_SYMBOL(__udivdi3);
EXPORT_SYMBOL(__moddi3);
EXPORT_SYMBOL(__umoddi3);
+#include <asm/page.h>
+EXPORT_SYMBOL(copy_page);
+
#if defined(CONFIG_MD_RAID456) || defined(CONFIG_MD_RAID456_MODULE)
extern void xor_ia64_2(void);
extern void xor_ia64_3(void);