docbook: fix fatal rapidio yet again (and more to come)
[linux/fpc-iii.git] / arch / sh / kernel / sh_ksyms_32.c
blob6d405462cee84774939382483436e8c69c0445fd
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/processor.h>
13 #include <asm/uaccess.h>
14 #include <asm/checksum.h>
15 #include <asm/io.h>
16 #include <asm/delay.h>
17 #include <asm/tlbflush.h>
18 #include <asm/cacheflush.h>
20 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
21 extern struct hw_interrupt_type no_irq_type;
23 EXPORT_SYMBOL(sh_mv);
25 /* platform dependent support */
26 EXPORT_SYMBOL(dump_fpu);
27 EXPORT_SYMBOL(kernel_thread);
28 EXPORT_SYMBOL(irq_desc);
29 EXPORT_SYMBOL(no_irq_type);
31 EXPORT_SYMBOL(strlen);
33 /* PCI exports */
34 #ifdef CONFIG_PCI
35 EXPORT_SYMBOL(pci_alloc_consistent);
36 EXPORT_SYMBOL(pci_free_consistent);
37 #endif
39 /* mem exports */
40 EXPORT_SYMBOL(memchr);
41 EXPORT_SYMBOL(memcpy);
42 EXPORT_SYMBOL(memset);
43 EXPORT_SYMBOL(memmove);
44 EXPORT_SYMBOL(__copy_user);
46 #ifdef CONFIG_MMU
47 EXPORT_SYMBOL(get_vm_area);
48 #endif
50 EXPORT_SYMBOL(__udelay);
51 EXPORT_SYMBOL(__ndelay);
52 EXPORT_SYMBOL(__const_udelay);
54 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
56 /* These symbols are generated by the compiler itself */
57 DECLARE_EXPORT(__udivsi3);
58 DECLARE_EXPORT(__sdivsi3);
59 DECLARE_EXPORT(__ashrsi3);
60 DECLARE_EXPORT(__ashlsi3);
61 DECLARE_EXPORT(__ashrdi3);
62 DECLARE_EXPORT(__ashldi3);
63 DECLARE_EXPORT(__ashiftrt_r4_6);
64 DECLARE_EXPORT(__ashiftrt_r4_7);
65 DECLARE_EXPORT(__ashiftrt_r4_8);
66 DECLARE_EXPORT(__ashiftrt_r4_9);
67 DECLARE_EXPORT(__ashiftrt_r4_10);
68 DECLARE_EXPORT(__ashiftrt_r4_11);
69 DECLARE_EXPORT(__ashiftrt_r4_12);
70 DECLARE_EXPORT(__ashiftrt_r4_13);
71 DECLARE_EXPORT(__ashiftrt_r4_14);
72 DECLARE_EXPORT(__ashiftrt_r4_15);
73 DECLARE_EXPORT(__ashiftrt_r4_20);
74 DECLARE_EXPORT(__ashiftrt_r4_21);
75 DECLARE_EXPORT(__ashiftrt_r4_22);
76 DECLARE_EXPORT(__ashiftrt_r4_23);
77 DECLARE_EXPORT(__ashiftrt_r4_24);
78 DECLARE_EXPORT(__ashiftrt_r4_27);
79 DECLARE_EXPORT(__ashiftrt_r4_30);
80 DECLARE_EXPORT(__lshrsi3);
81 DECLARE_EXPORT(__lshrdi3);
82 DECLARE_EXPORT(__movstrSI8);
83 DECLARE_EXPORT(__movstrSI12);
84 DECLARE_EXPORT(__movstrSI16);
85 DECLARE_EXPORT(__movstrSI20);
86 DECLARE_EXPORT(__movstrSI24);
87 DECLARE_EXPORT(__movstrSI28);
88 DECLARE_EXPORT(__movstrSI32);
89 DECLARE_EXPORT(__movstrSI36);
90 DECLARE_EXPORT(__movstrSI40);
91 DECLARE_EXPORT(__movstrSI44);
92 DECLARE_EXPORT(__movstrSI48);
93 DECLARE_EXPORT(__movstrSI52);
94 DECLARE_EXPORT(__movstrSI56);
95 DECLARE_EXPORT(__movstrSI60);
96 #if __GNUC__ == 4
97 DECLARE_EXPORT(__movmem);
98 #else
99 DECLARE_EXPORT(__movstr);
100 #endif
102 #if __GNUC__ == 4
103 DECLARE_EXPORT(__movmem_i4_even);
104 DECLARE_EXPORT(__movmem_i4_odd);
105 DECLARE_EXPORT(__movmemSI12_i4);
107 #if (__GNUC_MINOR__ >= 2 || defined(__GNUC_STM_RELEASE__))
109 * GCC >= 4.2 emits these for division, as do GCC 4.1.x versions of the ST
110 * compiler which include backported patches.
112 DECLARE_EXPORT(__sdivsi3_i4i);
113 DECLARE_EXPORT(__udiv_qrnnd_16);
114 DECLARE_EXPORT(__udivsi3_i4i);
115 #endif
116 #else /* GCC 3.x */
117 DECLARE_EXPORT(__movstr_i4_even);
118 DECLARE_EXPORT(__movstr_i4_odd);
119 DECLARE_EXPORT(__movstrSI12_i4);
120 #endif /* __GNUC__ == 4 */
122 #if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \
123 defined(CONFIG_SH7705_CACHE_32KB))
124 /* needed by some modules */
125 EXPORT_SYMBOL(flush_cache_all);
126 EXPORT_SYMBOL(flush_cache_range);
127 EXPORT_SYMBOL(flush_dcache_page);
128 EXPORT_SYMBOL(__flush_purge_region);
129 #endif
131 #if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU) && \
132 (defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB))
133 EXPORT_SYMBOL(clear_user_page);
134 #endif
136 EXPORT_SYMBOL(csum_partial);
137 EXPORT_SYMBOL(csum_partial_copy_generic);
138 #ifdef CONFIG_IPV6
139 EXPORT_SYMBOL(csum_ipv6_magic);
140 #endif
141 EXPORT_SYMBOL(clear_page);
142 EXPORT_SYMBOL(copy_page);
143 EXPORT_SYMBOL(__clear_user);
144 EXPORT_SYMBOL(_ebss);
145 EXPORT_SYMBOL(empty_zero_page);