summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-13 10:36:22 +0200
committerIngo Molnar <mingo@elte.hu>2008-05-13 19:38:47 +0200
commit89804c022fe32541f5dd40a69e48ff4678d9ad24 (patch)
tree3a58251be5d4537c3ed8323602abf3ff3ddd3878 /arch/x86/lib
parentx86: early_init_centaur(): use set_cpu_cap() (diff)
downloadlinux-89804c022fe32541f5dd40a69e48ff4678d9ad24.tar.xz
linux-89804c022fe32541f5dd40a69e48ff4678d9ad24.zip
x86: fix csum_partial() export
Fix this symbol export problem: Building modules, stage 2. MODPOST 193 modules ERROR: "csum_partial" [fs/reiserfs/reiserfs.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 This is due to a known weakness of symbol exports: if a symbol's only in-core user is an EXPORT_SYMBOL from a lib-y section, the symbol is not linked in. The solution is to move the export to x8664_ksyms_64.c - but the real solution would be to fix kbuild. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/csum-partial_64.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/lib/csum-partial_64.c b/arch/x86/lib/csum-partial_64.c
index bc503f506903..bf51144d97e1 100644
--- a/arch/x86/lib/csum-partial_64.c
+++ b/arch/x86/lib/csum-partial_64.c
@@ -136,8 +136,6 @@ __wsum csum_partial(const void *buff, int len, __wsum sum)
(__force u32)sum);
}
-EXPORT_SYMBOL(csum_partial);
-
/*
* this routine is used for miscellaneous IP-like checksums, mainly
* in icmp.c