diff options
| author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-03-13 09:27:12 -0400 |
|---|---|---|
| committer | Guan Xuetao <gxt@mprc.pku.edu.cn> | 2014-06-19 20:22:37 -0400 |
| commit | 4877b60cdf3f32281af0a241c7514167e1a0cd01 (patch) | |
| tree | 3e916fe9c1edb7ef80dc66c4a2586f7c13c439d6 /arch/unicore32 | |
| parent | 894e552cfaa3389f934dc68180bac692aebcf26b (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.c | 33 |
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 @@ | |||
| 26 | EXPORT_SYMBOL(find_next_zero_bit); | 26 | EXPORT_SYMBOL(find_next_zero_bit); |
| 27 | EXPORT_SYMBOL(find_next_bit); | 27 | EXPORT_SYMBOL(find_next_bit); |
| 28 | 28 | ||
| 29 | EXPORT_SYMBOL(__backtrace); | ||
| 30 | |||
| 31 | /* platform dependent support */ | 29 | /* platform dependent support */ |
| 32 | EXPORT_SYMBOL(__udelay); | 30 | EXPORT_SYMBOL(__udelay); |
| 33 | EXPORT_SYMBOL(__const_udelay); | 31 | EXPORT_SYMBOL(__const_udelay); |
| @@ -35,28 +33,6 @@ EXPORT_SYMBOL(__const_udelay); | |||
| 35 | /* networking */ | 33 | /* networking */ |
| 36 | EXPORT_SYMBOL(csum_partial); | 34 | EXPORT_SYMBOL(csum_partial); |
| 37 | EXPORT_SYMBOL(csum_partial_copy_from_user); | 35 | EXPORT_SYMBOL(csum_partial_copy_from_user); |
| 38 | EXPORT_SYMBOL(csum_partial_copy_nocheck); | ||
| 39 | EXPORT_SYMBOL(__csum_ipv6_magic); | ||
| 40 | |||
| 41 | /* io */ | ||
| 42 | #ifndef __raw_readsb | ||
| 43 | EXPORT_SYMBOL(__raw_readsb); | ||
| 44 | #endif | ||
| 45 | #ifndef __raw_readsw | ||
| 46 | EXPORT_SYMBOL(__raw_readsw); | ||
| 47 | #endif | ||
| 48 | #ifndef __raw_readsl | ||
| 49 | EXPORT_SYMBOL(__raw_readsl); | ||
| 50 | #endif | ||
| 51 | #ifndef __raw_writesb | ||
| 52 | EXPORT_SYMBOL(__raw_writesb); | ||
| 53 | #endif | ||
| 54 | #ifndef __raw_writesw | ||
| 55 | EXPORT_SYMBOL(__raw_writesw); | ||
| 56 | #endif | ||
| 57 | #ifndef __raw_writesl | ||
| 58 | EXPORT_SYMBOL(__raw_writesl); | ||
| 59 | #endif | ||
| 60 | 36 | ||
| 61 | /* string / mem functions */ | 37 | /* string / mem functions */ |
| 62 | EXPORT_SYMBOL(strchr); | 38 | EXPORT_SYMBOL(strchr); |
| @@ -76,15 +52,6 @@ EXPORT_SYMBOL(__copy_from_user); | |||
| 76 | EXPORT_SYMBOL(__copy_to_user); | 52 | EXPORT_SYMBOL(__copy_to_user); |
| 77 | EXPORT_SYMBOL(__clear_user); | 53 | EXPORT_SYMBOL(__clear_user); |
| 78 | 54 | ||
| 79 | EXPORT_SYMBOL(__get_user_1); | ||
| 80 | EXPORT_SYMBOL(__get_user_2); | ||
| 81 | EXPORT_SYMBOL(__get_user_4); | ||
| 82 | |||
| 83 | EXPORT_SYMBOL(__put_user_1); | ||
| 84 | EXPORT_SYMBOL(__put_user_2); | ||
| 85 | EXPORT_SYMBOL(__put_user_4); | ||
| 86 | EXPORT_SYMBOL(__put_user_8); | ||
| 87 | |||
| 88 | EXPORT_SYMBOL(__ashldi3); | 55 | EXPORT_SYMBOL(__ashldi3); |
| 89 | EXPORT_SYMBOL(__ashrdi3); | 56 | EXPORT_SYMBOL(__ashrdi3); |
| 90 | EXPORT_SYMBOL(__divsi3); | 57 | EXPORT_SYMBOL(__divsi3); |
