ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[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/hardirq.h>
20 #include <asm/delay.h>
21 #include <asm/tlbflush.h>
22 #include <asm/cacheflush.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(kernel_thread);
37 EXPORT_SYMBOL(disable_irq_nosync);
38 EXPORT_SYMBOL(irq_desc);
39 EXPORT_SYMBOL(no_irq_type);
40
41 EXPORT_SYMBOL(strpbrk);
42 EXPORT_SYMBOL(strstr);
43 EXPORT_SYMBOL(strlen);
44 EXPORT_SYMBOL(strnlen);
45 EXPORT_SYMBOL(strchr);
46 EXPORT_SYMBOL(strcat);
47 EXPORT_SYMBOL(strncat);
48
49 /* PCI exports */
50 #ifdef CONFIG_PCI
51 EXPORT_SYMBOL(pci_alloc_consistent);
52 EXPORT_SYMBOL(pci_free_consistent);
53 EXPORT_SYMBOL(pcibios_penalize_isa_irq);
54 #endif
55
56 /* mem exports */
57 EXPORT_SYMBOL(memchr);
58 EXPORT_SYMBOL(memcpy);
59 EXPORT_SYMBOL(memcpy_fromio);
60 EXPORT_SYMBOL(memcpy_toio);
61 EXPORT_SYMBOL(memset);
62 EXPORT_SYMBOL(memset_io);
63 EXPORT_SYMBOL(memmove);
64 EXPORT_SYMBOL(memcmp);
65 EXPORT_SYMBOL(memscan);
66 EXPORT_SYMBOL(__copy_user);
67
68 #ifdef CONFIG_VT
69 /* XXX: MRB-remove - what was screen_info changed to?
70 EXPORT_SYMBOL(screen_info);
71 */
72 #endif
73
74 EXPORT_SYMBOL(boot_cpu_data);
75
76 #ifdef CONFIG_MMU
77 EXPORT_SYMBOL(get_vm_area);
78 #endif
79
80 /* semaphore exports */
81 EXPORT_SYMBOL(__up);
82 EXPORT_SYMBOL(__down);
83 EXPORT_SYMBOL(__down_interruptible);
84
85 EXPORT_SYMBOL(__udelay);
86 EXPORT_SYMBOL(__const_udelay);
87
88 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL_NOVERS(name)
89
90 /* These symbols are generated by the compiler itself */
91 DECLARE_EXPORT(__udivsi3);
92 DECLARE_EXPORT(__udivdi3);
93 DECLARE_EXPORT(__sdivsi3);
94 DECLARE_EXPORT(__ashrdi3);
95 DECLARE_EXPORT(__ashldi3);
96 DECLARE_EXPORT(__lshrdi3);
97 DECLARE_EXPORT(__movstr);
98
99 #ifdef CONFIG_CPU_SH4
100  
101 DECLARE_EXPORT(__movstr_i4_even);
102 DECLARE_EXPORT(__movstr_i4_odd);
103
104 /* needed by some modules */
105 EXPORT_SYMBOL(flush_cache_all);
106 EXPORT_SYMBOL(flush_cache_range);
107 EXPORT_SYMBOL(flush_dcache_page);
108 EXPORT_SYMBOL(__flush_purge_region);
109 #endif
110 EXPORT_SYMBOL(flush_tlb_page);
111 EXPORT_SYMBOL(__down_trylock);
112
113 #ifdef CONFIG_SMP
114 EXPORT_SYMBOL(synchronize_irq);
115 #endif
116
117 EXPORT_SYMBOL(csum_partial);