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