sh: TLB fast path optimizations for load/store exceptions.
[linux-block.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/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>
9d2b1f81 19#include <asm/ftrace.h>
1da177e4 20
1da177e4 21extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
1da177e4 22
1da177e4 23/* platform dependent support */
1da177e4 24EXPORT_SYMBOL(dump_fpu);
1da177e4 25EXPORT_SYMBOL(kernel_thread);
1da177e4 26EXPORT_SYMBOL(strlen);
1da177e4
LT
27
28/* PCI exports */
29#ifdef CONFIG_PCI
30EXPORT_SYMBOL(pci_alloc_consistent);
31EXPORT_SYMBOL(pci_free_consistent);
32#endif
33
34/* mem exports */
35EXPORT_SYMBOL(memchr);
36EXPORT_SYMBOL(memcpy);
1da177e4 37EXPORT_SYMBOL(memset);
1da177e4 38EXPORT_SYMBOL(memmove);
1da177e4 39EXPORT_SYMBOL(__copy_user);
1da177e4
LT
40EXPORT_SYMBOL(__udelay);
41EXPORT_SYMBOL(__ndelay);
42EXPORT_SYMBOL(__const_udelay);
43
8a2fd5f3
PM
44#define DECLARE_EXPORT(name) \
45 extern void name(void);EXPORT_SYMBOL(name)
1da177e4 46
9ef10028
PM
47DECLARE_EXPORT(__udivsi3);
48DECLARE_EXPORT(__sdivsi3);
1aad54a9 49DECLARE_EXPORT(__lshrsi3);
98d877c4
PM
50DECLARE_EXPORT(__ashrsi3);
51DECLARE_EXPORT(__ashlsi3);
98d877c4
PM
52DECLARE_EXPORT(__ashiftrt_r4_6);
53DECLARE_EXPORT(__ashiftrt_r4_7);
54DECLARE_EXPORT(__ashiftrt_r4_8);
55DECLARE_EXPORT(__ashiftrt_r4_9);
56DECLARE_EXPORT(__ashiftrt_r4_10);
57DECLARE_EXPORT(__ashiftrt_r4_11);
58DECLARE_EXPORT(__ashiftrt_r4_12);
59DECLARE_EXPORT(__ashiftrt_r4_13);
60DECLARE_EXPORT(__ashiftrt_r4_14);
61DECLARE_EXPORT(__ashiftrt_r4_15);
62DECLARE_EXPORT(__ashiftrt_r4_20);
63DECLARE_EXPORT(__ashiftrt_r4_21);
64DECLARE_EXPORT(__ashiftrt_r4_22);
65DECLARE_EXPORT(__ashiftrt_r4_23);
66DECLARE_EXPORT(__ashiftrt_r4_24);
67DECLARE_EXPORT(__ashiftrt_r4_27);
68DECLARE_EXPORT(__ashiftrt_r4_30);
1aad54a9 69DECLARE_EXPORT(__movstr);
98d877c4
PM
70DECLARE_EXPORT(__movstrSI8);
71DECLARE_EXPORT(__movstrSI12);
711fa809 72DECLARE_EXPORT(__movstrSI16);
98d877c4
PM
73DECLARE_EXPORT(__movstrSI20);
74DECLARE_EXPORT(__movstrSI24);
75DECLARE_EXPORT(__movstrSI28);
76DECLARE_EXPORT(__movstrSI32);
77DECLARE_EXPORT(__movstrSI36);
78DECLARE_EXPORT(__movstrSI40);
79DECLARE_EXPORT(__movstrSI44);
80DECLARE_EXPORT(__movstrSI48);
81DECLARE_EXPORT(__movstrSI52);
82DECLARE_EXPORT(__movstrSI56);
83DECLARE_EXPORT(__movstrSI60);
1da177e4
LT
84DECLARE_EXPORT(__movstr_i4_even);
85DECLARE_EXPORT(__movstr_i4_odd);
86DECLARE_EXPORT(__movstrSI12_i4);
624c6a67
PM
87DECLARE_EXPORT(__movmem_i4_even);
88DECLARE_EXPORT(__movmem_i4_odd);
89DECLARE_EXPORT(__movmemSI12_i4);
1aad54a9 90DECLARE_EXPORT(__udiv_qrnnd_16);
9ef10028
PM
91DECLARE_EXPORT(__sdivsi3_i4);
92DECLARE_EXPORT(__udivsi3_i4);
1aad54a9
PM
93DECLARE_EXPORT(__sdivsi3_i4i);
94DECLARE_EXPORT(__udivsi3_i4i);
1da177e4 95
e7bd34a1
PM
96#if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \
97 defined(CONFIG_SH7705_CACHE_32KB))
1da177e4
LT
98/* needed by some modules */
99EXPORT_SYMBOL(flush_cache_all);
100EXPORT_SYMBOL(flush_cache_range);
101EXPORT_SYMBOL(flush_dcache_page);
1da177e4
LT
102#endif
103
473d1cf4 104#ifdef CONFIG_MCOUNT
fe279320 105DECLARE_EXPORT(mcount);
9d2b1f81 106#endif
1da177e4 107EXPORT_SYMBOL(csum_partial);
98d877c4 108EXPORT_SYMBOL(csum_partial_copy_generic);
e4c2cfee 109#ifdef CONFIG_IPV6
1da177e4 110EXPORT_SYMBOL(csum_ipv6_magic);
e4c2cfee 111#endif
ad0caae0 112EXPORT_SYMBOL(copy_page);
98d877c4 113EXPORT_SYMBOL(__clear_user);
1f91bbb5 114EXPORT_SYMBOL(_ebss);
fd785d6b 115EXPORT_SYMBOL(empty_zero_page);
2bba37e6
PM
116
117#ifndef CONFIG_CACHE_OFF
118EXPORT_SYMBOL(__flush_purge_region);
119EXPORT_SYMBOL(__flush_wback_region);
120EXPORT_SYMBOL(__flush_invalidate_region);
121#endif