blob: d5d032533a8b3b1445f70ab6430b5e4deb6e7fa5 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070040EXPORT_SYMBOL(strstr);
41EXPORT_SYMBOL(strlen);
42EXPORT_SYMBOL(strnlen);
43EXPORT_SYMBOL(strchr);
44EXPORT_SYMBOL(strcat);
45EXPORT_SYMBOL(strncat);
46
47/* PCI exports */
48#ifdef CONFIG_PCI
49EXPORT_SYMBOL(pci_alloc_consistent);
50EXPORT_SYMBOL(pci_free_consistent);
51#endif
52
53/* mem exports */
54EXPORT_SYMBOL(memchr);
55EXPORT_SYMBOL(memcpy);
56EXPORT_SYMBOL(memcpy_fromio);
57EXPORT_SYMBOL(memcpy_toio);
58EXPORT_SYMBOL(memset);
59EXPORT_SYMBOL(memset_io);
60EXPORT_SYMBOL(memmove);
61EXPORT_SYMBOL(memcmp);
62EXPORT_SYMBOL(memscan);
63EXPORT_SYMBOL(__copy_user);
64EXPORT_SYMBOL(boot_cpu_data);
65
66#ifdef CONFIG_MMU
67EXPORT_SYMBOL(get_vm_area);
68#endif
69
70/* semaphore exports */
71EXPORT_SYMBOL(__up);
72EXPORT_SYMBOL(__down);
73EXPORT_SYMBOL(__down_interruptible);
74
75EXPORT_SYMBOL(__udelay);
76EXPORT_SYMBOL(__ndelay);
77EXPORT_SYMBOL(__const_udelay);
78
79EXPORT_SYMBOL(__div64_32);
80
81#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
82
83/* These symbols are generated by the compiler itself */
84DECLARE_EXPORT(__udivsi3);
85DECLARE_EXPORT(__udivdi3);
86DECLARE_EXPORT(__sdivsi3);
87DECLARE_EXPORT(__ashrdi3);
88DECLARE_EXPORT(__ashldi3);
89DECLARE_EXPORT(__lshrdi3);
90DECLARE_EXPORT(__movstr);
91
92EXPORT_SYMBOL(strcpy);
93
94#ifdef CONFIG_CPU_SH4
95DECLARE_EXPORT(__movstr_i4_even);
96DECLARE_EXPORT(__movstr_i4_odd);
97DECLARE_EXPORT(__movstrSI12_i4);
98
99/* needed by some modules */
100EXPORT_SYMBOL(flush_cache_all);
101EXPORT_SYMBOL(flush_cache_range);
102EXPORT_SYMBOL(flush_dcache_page);
103EXPORT_SYMBOL(__flush_purge_region);
104#endif
105
106#if defined(CONFIG_SH7705_CACHE_32KB)
107EXPORT_SYMBOL(flush_cache_all);
108EXPORT_SYMBOL(flush_cache_range);
109EXPORT_SYMBOL(flush_dcache_page);
110EXPORT_SYMBOL(__flush_purge_region);
111#endif
112
113EXPORT_SYMBOL(flush_tlb_page);
114EXPORT_SYMBOL(__down_trylock);
115
116#ifdef CONFIG_SMP
117EXPORT_SYMBOL(synchronize_irq);
118#endif
119
120EXPORT_SYMBOL(csum_partial);
121EXPORT_SYMBOL(csum_ipv6_magic);
122EXPORT_SYMBOL(consistent_sync);
123EXPORT_SYMBOL(clear_page);