diff options
Diffstat (limited to 'arch/sh/kernel/sh_ksyms.c')
-rw-r--r-- | arch/sh/kernel/sh_ksyms.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/arch/sh/kernel/sh_ksyms.c b/arch/sh/kernel/sh_ksyms.c index 37aef0a85197..548e4285b375 100644 --- a/arch/sh/kernel/sh_ksyms.c +++ b/arch/sh/kernel/sh_ksyms.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <linux/vmalloc.h> | 8 | #include <linux/vmalloc.h> |
9 | #include <linux/pci.h> | 9 | #include <linux/pci.h> |
10 | #include <linux/irq.h> | 10 | #include <linux/irq.h> |
11 | 11 | #include <asm/sections.h> | |
12 | #include <asm/semaphore.h> | 12 | #include <asm/semaphore.h> |
13 | #include <asm/processor.h> | 13 | #include <asm/processor.h> |
14 | #include <asm/uaccess.h> | 14 | #include <asm/uaccess.h> |
@@ -43,7 +43,6 @@ EXPORT_SYMBOL(memcpy); | |||
43 | EXPORT_SYMBOL(memset); | 43 | EXPORT_SYMBOL(memset); |
44 | EXPORT_SYMBOL(memmove); | 44 | EXPORT_SYMBOL(memmove); |
45 | EXPORT_SYMBOL(__copy_user); | 45 | EXPORT_SYMBOL(__copy_user); |
46 | EXPORT_SYMBOL(boot_cpu_data); | ||
47 | 46 | ||
48 | #ifdef CONFIG_MMU | 47 | #ifdef CONFIG_MMU |
49 | EXPORT_SYMBOL(get_vm_area); | 48 | EXPORT_SYMBOL(get_vm_area); |
@@ -53,6 +52,7 @@ EXPORT_SYMBOL(get_vm_area); | |||
53 | EXPORT_SYMBOL(__up); | 52 | EXPORT_SYMBOL(__up); |
54 | EXPORT_SYMBOL(__down); | 53 | EXPORT_SYMBOL(__down); |
55 | EXPORT_SYMBOL(__down_interruptible); | 54 | EXPORT_SYMBOL(__down_interruptible); |
55 | EXPORT_SYMBOL(__down_trylock); | ||
56 | 56 | ||
57 | EXPORT_SYMBOL(__udelay); | 57 | EXPORT_SYMBOL(__udelay); |
58 | EXPORT_SYMBOL(__ndelay); | 58 | EXPORT_SYMBOL(__ndelay); |
@@ -128,7 +128,8 @@ DECLARE_EXPORT(__movstrSI12_i4); | |||
128 | #endif /* __GNUC__ == 4 */ | 128 | #endif /* __GNUC__ == 4 */ |
129 | #endif | 129 | #endif |
130 | 130 | ||
131 | #if defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB) | 131 | #if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \ |
132 | defined(CONFIG_SH7705_CACHE_32KB)) | ||
132 | /* needed by some modules */ | 133 | /* needed by some modules */ |
133 | EXPORT_SYMBOL(flush_cache_all); | 134 | EXPORT_SYMBOL(flush_cache_all); |
134 | EXPORT_SYMBOL(flush_cache_range); | 135 | EXPORT_SYMBOL(flush_cache_range); |
@@ -136,17 +137,11 @@ EXPORT_SYMBOL(flush_dcache_page); | |||
136 | EXPORT_SYMBOL(__flush_purge_region); | 137 | EXPORT_SYMBOL(__flush_purge_region); |
137 | #endif | 138 | #endif |
138 | 139 | ||
139 | #if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \ | 140 | #if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU) && \ |
140 | defined(CONFIG_SH7705_CACHE_32KB)) | 141 | (defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB)) |
141 | EXPORT_SYMBOL(clear_user_page); | 142 | EXPORT_SYMBOL(clear_user_page); |
142 | #endif | 143 | #endif |
143 | 144 | ||
144 | EXPORT_SYMBOL(__down_trylock); | ||
145 | |||
146 | #ifdef CONFIG_SMP | ||
147 | EXPORT_SYMBOL(synchronize_irq); | ||
148 | #endif | ||
149 | |||
150 | EXPORT_SYMBOL(csum_partial); | 145 | EXPORT_SYMBOL(csum_partial); |
151 | EXPORT_SYMBOL(csum_partial_copy_generic); | 146 | EXPORT_SYMBOL(csum_partial_copy_generic); |
152 | #ifdef CONFIG_IPV6 | 147 | #ifdef CONFIG_IPV6 |
@@ -154,3 +149,4 @@ EXPORT_SYMBOL(csum_ipv6_magic); | |||
154 | #endif | 149 | #endif |
155 | EXPORT_SYMBOL(clear_page); | 150 | EXPORT_SYMBOL(clear_page); |
156 | EXPORT_SYMBOL(__clear_user); | 151 | EXPORT_SYMBOL(__clear_user); |
152 | EXPORT_SYMBOL(_ebss); | ||