aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-03-13 09:27:12 -0400
committerGuan Xuetao <gxt@mprc.pku.edu.cn>2014-06-19 20:22:37 -0400
commit4877b60cdf3f32281af0a241c7514167e1a0cd01 (patch)
tree3e916fe9c1edb7ef80dc66c4a2586f7c13c439d6 /arch/unicore32
parent894e552cfaa3389f934dc68180bac692aebcf26b (diff)
arch/unicore32/kernel/ksyms.c: remove several undefined exported symbols
For 'csum_partial_copy_nocheck()', it has default definition in 'asm-generic'. For '__raw_reads?()' and '__raw_writes?()' are used by the drivers which no relationship with allmodconfig for unicode32, the related modules are: drivers/mmc/host/omap.c drivers/mtd/nand/atmel_nand.c drivers/mtd/nand/pxa3xx_nand.c drivers/usb/gadget/at91_udc.c Others are only within some architectures (not kernel wide). The related error with allmodconfig for unicode32: CC arch/unicore32/kernel/ksyms.o arch/unicore32/kernel/ksyms.c:29: error: ._backtrace. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:29: error: type defaults to .nt. in declaration of ._backtrace. arch/unicore32/kernel/ksyms.c:38: error: .sum_partial_copy_nocheck. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:38: error: type defaults to .nt. in declaration of .sum_partial_copy_nocheck. arch/unicore32/kernel/ksyms.c:39: error: ._csum_ipv6_magic. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:39: error: type defaults to .nt. in declaration of ._csum_ipv6_magic. arch/unicore32/kernel/ksyms.c:43: error: ._raw_readsb. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:43: error: type defaults to .nt. in declaration of ._raw_readsb. arch/unicore32/kernel/ksyms.c:46: error: ._raw_readsw. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:46: error: type defaults to .nt. in declaration of ._raw_readsw. arch/unicore32/kernel/ksyms.c:49: error: ._raw_readsl. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:49: error: type defaults to .nt. in declaration of ._raw_readsl. arch/unicore32/kernel/ksyms.c:52: error: ._raw_writesb. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:52: error: type defaults to .nt. in declaration of ._raw_writesb. arch/unicore32/kernel/ksyms.c:55: error: ._raw_writesw. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:55: error: type defaults to .nt. in declaration of ._raw_writesw. arch/unicore32/kernel/ksyms.c:58: error: ._raw_writesl. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:58: error: type defaults to .nt. in declaration of ._raw_writesl. arch/unicore32/kernel/ksyms.c:79: error: ._get_user_1. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:79: error: type defaults to .nt. in declaration of ._get_user_1. arch/unicore32/kernel/ksyms.c:80: error: ._get_user_2. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:80: error: type defaults to .nt. in declaration of ._get_user_2. arch/unicore32/kernel/ksyms.c:81: error: ._get_user_4. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:81: error: type defaults to .nt. in declaration of ._get_user_4. arch/unicore32/kernel/ksyms.c:83: error: ._put_user_1. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:83: error: type defaults to .nt. in declaration of ._put_user_1. arch/unicore32/kernel/ksyms.c:84: error: ._put_user_2. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:84: error: type defaults to .nt. in declaration of ._put_user_2. arch/unicore32/kernel/ksyms.c:85: error: ._put_user_4. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:85: error: type defaults to .nt. in declaration of ._put_user_4. arch/unicore32/kernel/ksyms.c:86: error: ._put_user_8. undeclared here (not in a function) arch/unicore32/kernel/ksyms.c:86: error: type defaults to .nt. in declaration of ._put_user_8. 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.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/arch/unicore32/kernel/ksyms.c b/arch/unicore32/kernel/ksyms.c
index d285d71cbe35..63afc7f5da2c 100644
--- a/arch/unicore32/kernel/ksyms.c
+++ b/arch/unicore32/kernel/ksyms.c
@@ -26,8 +26,6 @@
26EXPORT_SYMBOL(find_next_zero_bit); 26EXPORT_SYMBOL(find_next_zero_bit);
27EXPORT_SYMBOL(find_next_bit); 27EXPORT_SYMBOL(find_next_bit);
28 28
29EXPORT_SYMBOL(__backtrace);
30
31 /* platform dependent support */ 29 /* platform dependent support */
32EXPORT_SYMBOL(__udelay); 30EXPORT_SYMBOL(__udelay);
33EXPORT_SYMBOL(__const_udelay); 31EXPORT_SYMBOL(__const_udelay);
@@ -35,28 +33,6 @@ EXPORT_SYMBOL(__const_udelay);
35 /* networking */ 33 /* networking */
36EXPORT_SYMBOL(csum_partial); 34EXPORT_SYMBOL(csum_partial);
37EXPORT_SYMBOL(csum_partial_copy_from_user); 35EXPORT_SYMBOL(csum_partial_copy_from_user);
38EXPORT_SYMBOL(csum_partial_copy_nocheck);
39EXPORT_SYMBOL(__csum_ipv6_magic);
40
41 /* io */
42#ifndef __raw_readsb
43EXPORT_SYMBOL(__raw_readsb);
44#endif
45#ifndef __raw_readsw
46EXPORT_SYMBOL(__raw_readsw);
47#endif
48#ifndef __raw_readsl
49EXPORT_SYMBOL(__raw_readsl);
50#endif
51#ifndef __raw_writesb
52EXPORT_SYMBOL(__raw_writesb);
53#endif
54#ifndef __raw_writesw
55EXPORT_SYMBOL(__raw_writesw);
56#endif
57#ifndef __raw_writesl
58EXPORT_SYMBOL(__raw_writesl);
59#endif
60 36
61 /* string / mem functions */ 37 /* string / mem functions */
62EXPORT_SYMBOL(strchr); 38EXPORT_SYMBOL(strchr);
@@ -76,15 +52,6 @@ EXPORT_SYMBOL(__copy_from_user);
76EXPORT_SYMBOL(__copy_to_user); 52EXPORT_SYMBOL(__copy_to_user);
77EXPORT_SYMBOL(__clear_user); 53EXPORT_SYMBOL(__clear_user);
78 54
79EXPORT_SYMBOL(__get_user_1);
80EXPORT_SYMBOL(__get_user_2);
81EXPORT_SYMBOL(__get_user_4);
82
83EXPORT_SYMBOL(__put_user_1);
84EXPORT_SYMBOL(__put_user_2);
85EXPORT_SYMBOL(__put_user_4);
86EXPORT_SYMBOL(__put_user_8);
87
88EXPORT_SYMBOL(__ashldi3); 55EXPORT_SYMBOL(__ashldi3);
89EXPORT_SYMBOL(__ashrdi3); 56EXPORT_SYMBOL(__ashrdi3);
90EXPORT_SYMBOL(__divsi3); 57EXPORT_SYMBOL(__divsi3);