sh: export copy-page() to modules
[deliverable/linux.git] / arch / sh / kernel / sh_ksyms_32.c
CommitLineData
1da177e4
LT
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>
1da177e4
LT
8#include <linux/vmalloc.h>
9#include <linux/pci.h>
10#include <linux/irq.h>
1f91bbb5 11#include <asm/sections.h>
1da177e4
LT
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>
1da177e4 20
1da177e4
LT
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 */
1da177e4 27EXPORT_SYMBOL(dump_fpu);
1da177e4 28EXPORT_SYMBOL(kernel_thread);
1da177e4
LT
29EXPORT_SYMBOL(irq_desc);
30EXPORT_SYMBOL(no_irq_type);
31
1da177e4 32EXPORT_SYMBOL(strlen);
1da177e4
LT
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);
1da177e4 43EXPORT_SYMBOL(memset);
1da177e4 44EXPORT_SYMBOL(memmove);
1da177e4 45EXPORT_SYMBOL(__copy_user);
1da177e4
LT
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);
f7f86345 55EXPORT_SYMBOL(__down_trylock);
1da177e4
LT
56
57EXPORT_SYMBOL(__udelay);
58EXPORT_SYMBOL(__ndelay);
59EXPORT_SYMBOL(__const_udelay);
60
1da177e4
LT
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);
1da177e4 65DECLARE_EXPORT(__sdivsi3);
98d877c4
PM
66DECLARE_EXPORT(__ashrsi3);
67DECLARE_EXPORT(__ashlsi3);
1da177e4
LT
68DECLARE_EXPORT(__ashrdi3);
69DECLARE_EXPORT(__ashldi3);
98d877c4
PM
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);
1da177e4 88DECLARE_EXPORT(__lshrdi3);
98d877c4
PM
89DECLARE_EXPORT(__movstrSI8);
90DECLARE_EXPORT(__movstrSI12);
711fa809 91DECLARE_EXPORT(__movstrSI16);
98d877c4
PM
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);
ff4e2ca7
SM
103#if __GNUC__ == 4
104DECLARE_EXPORT(__movmem);
105#else
106DECLARE_EXPORT(__movstr);
107#endif
1da177e4 108
ff4e2ca7
SM
109#if __GNUC__ == 4
110DECLARE_EXPORT(__movmem_i4_even);
111DECLARE_EXPORT(__movmem_i4_odd);
112DECLARE_EXPORT(__movmemSI12_i4);
2414b86d 113
4bee4ca2 114#if (__GNUC_MINOR__ >= 2 || defined(__GNUC_STM_RELEASE__))
2414b86d 115/*
4bee4ca2 116 * GCC >= 4.2 emits these for division, as do GCC 4.1.x versions of the ST
2414b86d
PM
117 * compiler which include backported patches.
118 */
119DECLARE_EXPORT(__sdivsi3_i4i);
120DECLARE_EXPORT(__udiv_qrnnd_16);
121DECLARE_EXPORT(__udivsi3_i4i);
122#endif
ff4e2ca7 123#else /* GCC 3.x */
1da177e4
LT
124DECLARE_EXPORT(__movstr_i4_even);
125DECLARE_EXPORT(__movstr_i4_odd);
126DECLARE_EXPORT(__movstrSI12_i4);
ff4e2ca7 127#endif /* __GNUC__ == 4 */
1da177e4 128
e7bd34a1
PM
129#if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \
130 defined(CONFIG_SH7705_CACHE_32KB))
1da177e4
LT
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
e7bd34a1
PM
138#if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU) && \
139 (defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB))
a2d1a5fa 140EXPORT_SYMBOL(clear_user_page);
1da177e4
LT
141#endif
142
1da177e4 143EXPORT_SYMBOL(csum_partial);
98d877c4 144EXPORT_SYMBOL(csum_partial_copy_generic);
e4c2cfee 145#ifdef CONFIG_IPV6
1da177e4 146EXPORT_SYMBOL(csum_ipv6_magic);
e4c2cfee 147#endif
1da177e4 148EXPORT_SYMBOL(clear_page);
ad0caae0 149EXPORT_SYMBOL(copy_page);
98d877c4 150EXPORT_SYMBOL(__clear_user);
1f91bbb5 151EXPORT_SYMBOL(_ebss);
This page took 0.303219 seconds and 5 git commands to generate.