aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-05-20 20:57:53 -0400
committerGuan Xuetao <gxt@mprc.pku.edu.cn>2014-06-19 20:22:39 -0400
commit5a5ffc991edaf5d1c24a01db62c3d203df53dec7 (patch)
tree63d4ed6a2225ee4daefcb3ea424e603652962778 /arch/unicore32
parent73fa540618d8b1f8c2266934f23bd84bb9e28d9e (diff)
arch/unicore32/kernel/ksyms.c: remove 2 export symbols to avoid compiling failure
'csum_partial' and 'csum_partial_copy_from_user' have already been exported in "lib/", so need not export them again, or it will cause compiling error. The related error (with allmodconfig under unicore32): LD vmlinux.o lib/built-in.o:(___ksymtab+csum_partial+0x0): multiple definition of `__ksymtab_csum_partial' arch/unicore32/kernel/built-in.o:(___ksymtab+csum_partial+0x0): first defined here lib/built-in.o:(___ksymtab+csum_partial_copy_from_user+0x0): multiple definition of `__ksymtab_csum_partial_copy_from_user' arch/unicore32/kernel/built-in.o:(___ksymtab+csum_partial_copy_from_user+0x0): first defined here make: *** [vmlinux] Error 1 Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn> Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Diffstat (limited to 'arch/unicore32')
-rw-r--r--arch/unicore32/kernel/ksyms.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/unicore32/kernel/ksyms.c b/arch/unicore32/kernel/ksyms.c
index 63afc7f5da2c..bc061407f6eb 100644
--- a/arch/unicore32/kernel/ksyms.c
+++ b/arch/unicore32/kernel/ksyms.c
@@ -30,10 +30,6 @@ EXPORT_SYMBOL(find_next_bit);
30EXPORT_SYMBOL(__udelay); 30EXPORT_SYMBOL(__udelay);
31EXPORT_SYMBOL(__const_udelay); 31EXPORT_SYMBOL(__const_udelay);
32 32
33 /* networking */
34EXPORT_SYMBOL(csum_partial);
35EXPORT_SYMBOL(csum_partial_copy_from_user);
36
37 /* string / mem functions */ 33 /* string / mem functions */
38EXPORT_SYMBOL(strchr); 34EXPORT_SYMBOL(strchr);
39EXPORT_SYMBOL(strrchr); 35EXPORT_SYMBOL(strrchr);