[PATCH] dump_thread() cleanup
[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 int dump_fpu(struct pt_regs *, elf_fpregset_t *);
25 extern struct hw_interrupt_type no_irq_type;
26
27 EXPORT_SYMBOL(sh_mv);
28
29 /* platform dependent support */
30 EXPORT_SYMBOL(dump_fpu);
31 EXPORT_SYMBOL(iounmap);
32 EXPORT_SYMBOL(enable_irq);
33 EXPORT_SYMBOL(disable_irq);
34 EXPORT_SYMBOL(probe_irq_mask);
35 EXPORT_SYMBOL(kernel_thread);
36 EXPORT_SYMBOL(disable_irq_nosync);
37 EXPORT_SYMBOL(irq_desc);
38 EXPORT_SYMBOL(no_irq_type);
39
40 EXPORT_SYMBOL(strpbrk);
41 EXPORT_SYMBOL(strstr);
42 EXPORT_SYMBOL(strlen);
43 EXPORT_SYMBOL(strnlen);
44 EXPORT_SYMBOL(strchr);
45 EXPORT_SYMBOL(strcat);
46 EXPORT_SYMBOL(strncat);
47
48 /* PCI exports */
49 #ifdef CONFIG_PCI
50 EXPORT_SYMBOL(pci_alloc_consistent);
51 EXPORT_SYMBOL(pci_free_consistent);
52 #endif
53
54 /* mem exports */
55 EXPORT_SYMBOL(memchr);
56 EXPORT_SYMBOL(memcpy);
57 EXPORT_SYMBOL(memcpy_fromio);
58 EXPORT_SYMBOL(memcpy_toio);
59 EXPORT_SYMBOL(memset);
60 EXPORT_SYMBOL(memset_io);
61 EXPORT_SYMBOL(memmove);
62 EXPORT_SYMBOL(memcmp);
63 EXPORT_SYMBOL(memscan);
64 EXPORT_SYMBOL(__copy_user);
65 EXPORT_SYMBOL(boot_cpu_data);
66
67 #ifdef CONFIG_MMU
68 EXPORT_SYMBOL(get_vm_area);
69 #endif
70
71 /* semaphore exports */
72 EXPORT_SYMBOL(__up);
73 EXPORT_SYMBOL(__down);
74 EXPORT_SYMBOL(__down_interruptible);
75
76 EXPORT_SYMBOL(__udelay);
77 EXPORT_SYMBOL(__ndelay);
78 EXPORT_SYMBOL(__const_udelay);
79
80 EXPORT_SYMBOL(__div64_32);
81
82 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
83
84 /* These symbols are generated by the compiler itself */
85 DECLARE_EXPORT(__udivsi3);
86 DECLARE_EXPORT(__udivdi3);
87 DECLARE_EXPORT(__sdivsi3);
88 DECLARE_EXPORT(__ashrdi3);
89 DECLARE_EXPORT(__ashldi3);
90 DECLARE_EXPORT(__lshrdi3);
91 DECLARE_EXPORT(__movstr);
92
93 EXPORT_SYMBOL(strcpy);
94
95 #ifdef CONFIG_CPU_SH4
96 DECLARE_EXPORT(__movstr_i4_even);
97 DECLARE_EXPORT(__movstr_i4_odd);
98 DECLARE_EXPORT(__movstrSI12_i4);
99
100 /* needed by some modules */
101 EXPORT_SYMBOL(flush_cache_all);
102 EXPORT_SYMBOL(flush_cache_range);
103 EXPORT_SYMBOL(flush_dcache_page);
104 EXPORT_SYMBOL(__flush_purge_region);
105 #endif
106
107 #if defined(CONFIG_SH7705_CACHE_32KB)
108 EXPORT_SYMBOL(flush_cache_all);
109 EXPORT_SYMBOL(flush_cache_range);
110 EXPORT_SYMBOL(flush_dcache_page);
111 EXPORT_SYMBOL(__flush_purge_region);
112 #endif
113
114 EXPORT_SYMBOL(flush_tlb_page);
115 EXPORT_SYMBOL(__down_trylock);
116
117 #ifdef CONFIG_SMP
118 EXPORT_SYMBOL(synchronize_irq);
119 #endif
120
121 EXPORT_SYMBOL(csum_partial);
122 EXPORT_SYMBOL(csum_ipv6_magic);
123 EXPORT_SYMBOL(consistent_sync);
124 EXPORT_SYMBOL(clear_page);