diff options
Diffstat (limited to 'arch/sh/kernel/sh_ksyms.c')
-rw-r--r-- | arch/sh/kernel/sh_ksyms.c | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/arch/sh/kernel/sh_ksyms.c b/arch/sh/kernel/sh_ksyms.c index 9daad70bc305..e6106239a0fe 100644 --- a/arch/sh/kernel/sh_ksyms.c +++ b/arch/sh/kernel/sh_ksyms.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <asm/delay.h> | 18 | #include <asm/delay.h> |
19 | #include <asm/tlbflush.h> | 19 | #include <asm/tlbflush.h> |
20 | #include <asm/cacheflush.h> | 20 | #include <asm/cacheflush.h> |
21 | #include <asm/checksum.h> | ||
22 | 21 | ||
23 | extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); | 22 | extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); |
24 | extern struct hw_interrupt_type no_irq_type; | 23 | extern struct hw_interrupt_type no_irq_type; |
@@ -71,15 +70,26 @@ DECLARE_EXPORT(__sdivsi3); | |||
71 | DECLARE_EXPORT(__ashrdi3); | 70 | DECLARE_EXPORT(__ashrdi3); |
72 | DECLARE_EXPORT(__ashldi3); | 71 | DECLARE_EXPORT(__ashldi3); |
73 | DECLARE_EXPORT(__lshrdi3); | 72 | DECLARE_EXPORT(__lshrdi3); |
74 | DECLARE_EXPORT(__movstr); | ||
75 | DECLARE_EXPORT(__movstrSI16); | 73 | DECLARE_EXPORT(__movstrSI16); |
76 | 74 | #if __GNUC__ == 4 | |
77 | EXPORT_SYMBOL(strcpy); | 75 | DECLARE_EXPORT(__movmem); |
76 | #else | ||
77 | DECLARE_EXPORT(__movstr); | ||
78 | #endif | ||
78 | 79 | ||
79 | #ifdef CONFIG_CPU_SH4 | 80 | #ifdef CONFIG_CPU_SH4 |
81 | #if __GNUC__ == 4 | ||
82 | DECLARE_EXPORT(__movmem_i4_even); | ||
83 | DECLARE_EXPORT(__movmem_i4_odd); | ||
84 | DECLARE_EXPORT(__movmemSI12_i4); | ||
85 | DECLARE_EXPORT(__sdivsi3_i4i); | ||
86 | DECLARE_EXPORT(__udiv_qrnnd_16); | ||
87 | DECLARE_EXPORT(__udivsi3_i4i); | ||
88 | #else /* GCC 3.x */ | ||
80 | DECLARE_EXPORT(__movstr_i4_even); | 89 | DECLARE_EXPORT(__movstr_i4_even); |
81 | DECLARE_EXPORT(__movstr_i4_odd); | 90 | DECLARE_EXPORT(__movstr_i4_odd); |
82 | DECLARE_EXPORT(__movstrSI12_i4); | 91 | DECLARE_EXPORT(__movstrSI12_i4); |
92 | #endif /* __GNUC__ == 4 */ | ||
83 | #endif | 93 | #endif |
84 | 94 | ||
85 | #if defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB) | 95 | #if defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB) |
@@ -102,10 +112,6 @@ EXPORT_SYMBOL(__down_trylock); | |||
102 | EXPORT_SYMBOL(synchronize_irq); | 112 | EXPORT_SYMBOL(synchronize_irq); |
103 | #endif | 113 | #endif |
104 | 114 | ||
105 | #ifdef CONFIG_PM | ||
106 | EXPORT_SYMBOL(pm_suspend); | ||
107 | #endif | ||
108 | |||
109 | EXPORT_SYMBOL(csum_partial); | 115 | EXPORT_SYMBOL(csum_partial); |
110 | #ifdef CONFIG_IPV6 | 116 | #ifdef CONFIG_IPV6 |
111 | EXPORT_SYMBOL(csum_ipv6_magic); | 117 | EXPORT_SYMBOL(csum_ipv6_magic); |