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