aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/sh_ksyms.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-11 04:22:55 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:18:46 -0500
commit4b7be4f2e0235c6824641503e2a8ff3b85e105d7 (patch)
tree5e6385a45371fcc69cebeaab8bad452fc96b9990 /arch/sh/kernel/sh_ksyms.c
parent343ac72248d360f1fae72176aca1117be19189ec (diff)
sh: Split out sh_ksyms.c in to _32 and _64 variants.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/sh_ksyms.c')
-rw-r--r--arch/sh/kernel/sh_ksyms.c152
1 files changed, 0 insertions, 152 deletions
diff --git a/arch/sh/kernel/sh_ksyms.c b/arch/sh/kernel/sh_ksyms.c
deleted file mode 100644
index bc5239ef88ce..000000000000
--- a/arch/sh/kernel/sh_ksyms.c
+++ /dev/null
@@ -1,152 +0,0 @@
1#include <linux/module.h>
2#include <linux/smp.h>
3#include <linux/user.h>
4#include <linux/elfcore.h>
5#include <linux/sched.h>
6#include <linux/in6.h>
7#include <linux/interrupt.h>
8#include <linux/vmalloc.h>
9#include <linux/pci.h>
10#include <linux/irq.h>
11#include <asm/sections.h>
12#include <asm/semaphore.h>
13#include <asm/processor.h>
14#include <asm/uaccess.h>
15#include <asm/checksum.h>
16#include <asm/io.h>
17#include <asm/delay.h>
18#include <asm/tlbflush.h>
19#include <asm/cacheflush.h>
20
21extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
22extern struct hw_interrupt_type no_irq_type;
23
24EXPORT_SYMBOL(sh_mv);
25
26/* platform dependent support */
27EXPORT_SYMBOL(dump_fpu);
28EXPORT_SYMBOL(kernel_thread);
29EXPORT_SYMBOL(irq_desc);
30EXPORT_SYMBOL(no_irq_type);
31
32EXPORT_SYMBOL(strlen);
33
34/* PCI exports */
35#ifdef CONFIG_PCI
36EXPORT_SYMBOL(pci_alloc_consistent);
37EXPORT_SYMBOL(pci_free_consistent);
38#endif
39
40/* mem exports */
41EXPORT_SYMBOL(memchr);
42EXPORT_SYMBOL(memcpy);
43EXPORT_SYMBOL(memset);
44EXPORT_SYMBOL(memmove);
45EXPORT_SYMBOL(__copy_user);
46
47#ifdef CONFIG_MMU
48EXPORT_SYMBOL(get_vm_area);
49#endif
50
51/* semaphore exports */
52EXPORT_SYMBOL(__up);
53EXPORT_SYMBOL(__down);
54EXPORT_SYMBOL(__down_interruptible);
55EXPORT_SYMBOL(__down_trylock);
56
57EXPORT_SYMBOL(__udelay);
58EXPORT_SYMBOL(__ndelay);
59EXPORT_SYMBOL(__const_udelay);
60
61#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
62
63/* These symbols are generated by the compiler itself */
64DECLARE_EXPORT(__udivsi3);
65DECLARE_EXPORT(__sdivsi3);
66DECLARE_EXPORT(__ashrsi3);
67DECLARE_EXPORT(__ashlsi3);
68DECLARE_EXPORT(__ashrdi3);
69DECLARE_EXPORT(__ashldi3);
70DECLARE_EXPORT(__ashiftrt_r4_6);
71DECLARE_EXPORT(__ashiftrt_r4_7);
72DECLARE_EXPORT(__ashiftrt_r4_8);
73DECLARE_EXPORT(__ashiftrt_r4_9);
74DECLARE_EXPORT(__ashiftrt_r4_10);
75DECLARE_EXPORT(__ashiftrt_r4_11);
76DECLARE_EXPORT(__ashiftrt_r4_12);
77DECLARE_EXPORT(__ashiftrt_r4_13);
78DECLARE_EXPORT(__ashiftrt_r4_14);
79DECLARE_EXPORT(__ashiftrt_r4_15);
80DECLARE_EXPORT(__ashiftrt_r4_20);
81DECLARE_EXPORT(__ashiftrt_r4_21);
82DECLARE_EXPORT(__ashiftrt_r4_22);
83DECLARE_EXPORT(__ashiftrt_r4_23);
84DECLARE_EXPORT(__ashiftrt_r4_24);
85DECLARE_EXPORT(__ashiftrt_r4_27);
86DECLARE_EXPORT(__ashiftrt_r4_30);
87DECLARE_EXPORT(__lshrsi3);
88DECLARE_EXPORT(__lshrdi3);
89DECLARE_EXPORT(__movstrSI8);
90DECLARE_EXPORT(__movstrSI12);
91DECLARE_EXPORT(__movstrSI16);
92DECLARE_EXPORT(__movstrSI20);
93DECLARE_EXPORT(__movstrSI24);
94DECLARE_EXPORT(__movstrSI28);
95DECLARE_EXPORT(__movstrSI32);
96DECLARE_EXPORT(__movstrSI36);
97DECLARE_EXPORT(__movstrSI40);
98DECLARE_EXPORT(__movstrSI44);
99DECLARE_EXPORT(__movstrSI48);
100DECLARE_EXPORT(__movstrSI52);
101DECLARE_EXPORT(__movstrSI56);
102DECLARE_EXPORT(__movstrSI60);
103#if __GNUC__ == 4
104DECLARE_EXPORT(__movmem);
105#else
106DECLARE_EXPORT(__movstr);
107#endif
108
109#if __GNUC__ == 4
110DECLARE_EXPORT(__movmem_i4_even);
111DECLARE_EXPORT(__movmem_i4_odd);
112DECLARE_EXPORT(__movmemSI12_i4);
113
114#if (__GNUC_MINOR__ == 2 || defined(__GNUC_STM_RELEASE__))
115/*
116 * GCC 4.2 emits these for division, as do GCC 4.1.x versions of the ST
117 * compiler which include backported patches.
118 */
119DECLARE_EXPORT(__sdivsi3_i4i);
120DECLARE_EXPORT(__udiv_qrnnd_16);
121DECLARE_EXPORT(__udivsi3_i4i);
122#endif
123#else /* GCC 3.x */
124DECLARE_EXPORT(__movstr_i4_even);
125DECLARE_EXPORT(__movstr_i4_odd);
126DECLARE_EXPORT(__movstrSI12_i4);
127#endif /* __GNUC__ == 4 */
128
129#if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \
130 defined(CONFIG_SH7705_CACHE_32KB))
131/* needed by some modules */
132EXPORT_SYMBOL(flush_cache_all);
133EXPORT_SYMBOL(flush_cache_range);
134EXPORT_SYMBOL(flush_dcache_page);
135EXPORT_SYMBOL(__flush_purge_region);
136#endif
137
138#if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU) && \
139 (defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB))
140EXPORT_SYMBOL(clear_user_page);
141#endif
142
143EXPORT_SYMBOL(csum_partial);
144#ifdef CONFIG_SUPERH32
145EXPORT_SYMBOL(csum_partial_copy_generic);
146#endif
147#ifdef CONFIG_IPV6
148EXPORT_SYMBOL(csum_ipv6_magic);
149#endif
150EXPORT_SYMBOL(clear_page);
151EXPORT_SYMBOL(__clear_user);
152EXPORT_SYMBOL(_ebss);