Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
[sfrench/cifs-2.6.git] / arch / sh / kernel / sh_ksyms.c
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
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
21 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
22 extern struct hw_interrupt_type no_irq_type;
23
24 EXPORT_SYMBOL(sh_mv);
25
26 /* platform dependent support */
27 EXPORT_SYMBOL(dump_fpu);
28 EXPORT_SYMBOL(kernel_thread);
29 EXPORT_SYMBOL(irq_desc);
30 EXPORT_SYMBOL(no_irq_type);
31
32 EXPORT_SYMBOL(strlen);
33
34 /* PCI exports */
35 #ifdef CONFIG_PCI
36 EXPORT_SYMBOL(pci_alloc_consistent);
37 EXPORT_SYMBOL(pci_free_consistent);
38 #endif
39
40 /* mem exports */
41 EXPORT_SYMBOL(memchr);
42 EXPORT_SYMBOL(memcpy);
43 EXPORT_SYMBOL(memset);
44 EXPORT_SYMBOL(memmove);
45 EXPORT_SYMBOL(__copy_user);
46 EXPORT_SYMBOL(boot_cpu_data);
47
48 #ifdef CONFIG_MMU
49 EXPORT_SYMBOL(get_vm_area);
50 #endif
51
52 /* semaphore exports */
53 EXPORT_SYMBOL(__up);
54 EXPORT_SYMBOL(__down);
55 EXPORT_SYMBOL(__down_interruptible);
56
57 EXPORT_SYMBOL(__udelay);
58 EXPORT_SYMBOL(__ndelay);
59 EXPORT_SYMBOL(__const_udelay);
60
61 EXPORT_SYMBOL(__div64_32);
62
63 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
64
65 /* These symbols are generated by the compiler itself */
66 DECLARE_EXPORT(__udivsi3);
67 DECLARE_EXPORT(__sdivsi3);
68 DECLARE_EXPORT(__ashrdi3);
69 DECLARE_EXPORT(__ashldi3);
70 DECLARE_EXPORT(__lshrdi3);
71 DECLARE_EXPORT(__movstrSI16);
72 #if __GNUC__ == 4
73 DECLARE_EXPORT(__movmem);
74 #else
75 DECLARE_EXPORT(__movstr);
76 #endif
77
78 #ifdef CONFIG_CPU_SH4
79 #if __GNUC__ == 4
80 DECLARE_EXPORT(__movmem_i4_even);
81 DECLARE_EXPORT(__movmem_i4_odd);
82 DECLARE_EXPORT(__movmemSI12_i4);
83 #else /* GCC 3.x */
84 DECLARE_EXPORT(__movstr_i4_even);
85 DECLARE_EXPORT(__movstr_i4_odd);
86 DECLARE_EXPORT(__movstrSI12_i4);
87 #endif /* __GNUC__ == 4 */
88 #endif
89
90 #if defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB)
91 /* needed by some modules */
92 EXPORT_SYMBOL(flush_cache_all);
93 EXPORT_SYMBOL(flush_cache_range);
94 EXPORT_SYMBOL(flush_dcache_page);
95 EXPORT_SYMBOL(__flush_purge_region);
96 #endif
97
98 #if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \
99         defined(CONFIG_SH7705_CACHE_32KB))
100 EXPORT_SYMBOL(clear_user_page);
101 #endif
102
103 EXPORT_SYMBOL(__down_trylock);
104
105 #ifdef CONFIG_SMP
106 EXPORT_SYMBOL(synchronize_irq);
107 #endif
108
109 EXPORT_SYMBOL(csum_partial);
110 #ifdef CONFIG_IPV6
111 EXPORT_SYMBOL(csum_ipv6_magic);
112 #endif
113 EXPORT_SYMBOL(clear_page);