vserver 1.9.5.x5
[linux-2.6.git] / arch / sh / kernel / sh_ksyms.c
1 #include <linux/config.h>
2 #include <linux/module.h>
3 #include <linux/smp.h>
4 #include <linux/user.h>
5 #include <linux/elfcore.h>
6 #include <linux/sched.h>
7 #include <linux/in6.h>
8 #include <linux/interrupt.h>
9 #include <linux/smp_lock.h>
10 #include <linux/vmalloc.h>
11 #include <linux/pci.h>
12 #include <linux/irq.h>
13
14 #include <asm/semaphore.h>
15 #include <asm/processor.h>
16 #include <asm/uaccess.h>
17 #include <asm/checksum.h>
18 #include <asm/io.h>
19 #include <asm/delay.h>
20 #include <asm/tlbflush.h>
21 #include <asm/cacheflush.h>
22 #include <asm/checksum.h>
23
24 extern void dump_thread(struct pt_regs *, struct user *);
25 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
26 extern struct hw_interrupt_type no_irq_type;
27
28 EXPORT_SYMBOL(sh_mv);
29
30 /* platform dependent support */
31 EXPORT_SYMBOL(dump_thread);
32 EXPORT_SYMBOL(dump_fpu);
33 EXPORT_SYMBOL(iounmap);
34 EXPORT_SYMBOL(enable_irq);
35 EXPORT_SYMBOL(disable_irq);
36 EXPORT_SYMBOL(probe_irq_mask);
37 EXPORT_SYMBOL(kernel_thread);
38 EXPORT_SYMBOL(disable_irq_nosync);
39 EXPORT_SYMBOL(irq_desc);
40 EXPORT_SYMBOL(no_irq_type);
41
42 EXPORT_SYMBOL(strpbrk);
43 EXPORT_SYMBOL(strstr);
44 EXPORT_SYMBOL(strlen);
45 EXPORT_SYMBOL(strnlen);
46 EXPORT_SYMBOL(strchr);
47 EXPORT_SYMBOL(strcat);
48 EXPORT_SYMBOL(strncat);
49
50 /* PCI exports */
51 #ifdef CONFIG_PCI
52 EXPORT_SYMBOL(pci_alloc_consistent);
53 EXPORT_SYMBOL(pci_free_consistent);
54 EXPORT_SYMBOL(pcibios_penalize_isa_irq);
55 #endif
56
57 /* mem exports */
58 EXPORT_SYMBOL(memchr);
59 EXPORT_SYMBOL(memcpy);
60 EXPORT_SYMBOL(memcpy_fromio);
61 EXPORT_SYMBOL(memcpy_toio);
62 EXPORT_SYMBOL(memset);
63 EXPORT_SYMBOL(memset_io);
64 EXPORT_SYMBOL(memmove);
65 EXPORT_SYMBOL(memcmp);
66 EXPORT_SYMBOL(memscan);
67 EXPORT_SYMBOL(__copy_user);
68
69 #ifdef CONFIG_VT
70 /* XXX: MRB-remove - what was screen_info changed to?
71 EXPORT_SYMBOL(screen_info);
72 */
73 #endif
74
75 EXPORT_SYMBOL(boot_cpu_data);
76
77 #ifdef CONFIG_MMU
78 EXPORT_SYMBOL(get_vm_area);
79 #endif
80
81 /* semaphore exports */
82 EXPORT_SYMBOL(__up);
83 EXPORT_SYMBOL(__down);
84 EXPORT_SYMBOL(__down_interruptible);
85
86 EXPORT_SYMBOL(__udelay);
87 EXPORT_SYMBOL(__ndelay);
88 EXPORT_SYMBOL(__const_udelay);
89
90 EXPORT_SYMBOL(__div64_32);
91
92 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
93
94 /* These symbols are generated by the compiler itself */
95 DECLARE_EXPORT(__udivsi3);
96 DECLARE_EXPORT(__udivdi3);
97 DECLARE_EXPORT(__sdivsi3);
98 DECLARE_EXPORT(__ashrdi3);
99 DECLARE_EXPORT(__ashldi3);
100 DECLARE_EXPORT(__lshrdi3);
101 DECLARE_EXPORT(__movstr);
102
103 EXPORT_SYMBOL(strcpy);
104
105 #ifdef CONFIG_CPU_SH4
106 DECLARE_EXPORT(__movstr_i4_even);
107 DECLARE_EXPORT(__movstr_i4_odd);
108 DECLARE_EXPORT(__movstrSI12_i4);
109
110 /* needed by some modules */
111 EXPORT_SYMBOL(flush_cache_all);
112 EXPORT_SYMBOL(flush_cache_range);
113 EXPORT_SYMBOL(flush_dcache_page);
114 EXPORT_SYMBOL(__flush_purge_region);
115 #endif
116
117 #if defined(CONFIG_SH7705_CACHE_32KB)
118 EXPORT_SYMBOL(flush_cache_all);
119 EXPORT_SYMBOL(flush_cache_range);
120 EXPORT_SYMBOL(flush_dcache_page);
121 EXPORT_SYMBOL(__flush_purge_region);
122 #endif
123
124 EXPORT_SYMBOL(flush_tlb_page);
125 EXPORT_SYMBOL(__down_trylock);
126
127 #ifdef CONFIG_SMP
128 EXPORT_SYMBOL(synchronize_irq);
129 #endif
130
131 EXPORT_SYMBOL(csum_partial);
132 EXPORT_SYMBOL(csum_ipv6_magic);
133 EXPORT_SYMBOL(consistent_sync);
134 EXPORT_SYMBOL(clear_page);