blob: 8cad80cec9a66d02f9b2b18f2f76d2cd4a8421b5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#include <linux/module.h>
2#include <linux/smp.h>
3#include <linux/user.h>
4#include <linux/elfcore.h>
5#include <linux/sched.h>
6#include <linux/in6.h>
7#include <linux/interrupt.h>
8#include <linux/smp_lock.h>
9#include <linux/vmalloc.h>
10#include <linux/pci.h>
11#include <linux/irq.h>
12
13#include <asm/semaphore.h>
14#include <asm/processor.h>
15#include <asm/uaccess.h>
16#include <asm/checksum.h>
17#include <asm/io.h>
18#include <asm/delay.h>
19#include <asm/tlbflush.h>
20#include <asm/cacheflush.h>
21#include <asm/checksum.h>
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
24extern struct hw_interrupt_type no_irq_type;
25
26EXPORT_SYMBOL(sh_mv);
27
28/* platform dependent support */
Linus Torvalds1da177e2005-04-16 15:20:36 -070029EXPORT_SYMBOL(dump_fpu);
30EXPORT_SYMBOL(iounmap);
31EXPORT_SYMBOL(enable_irq);
32EXPORT_SYMBOL(disable_irq);
33EXPORT_SYMBOL(probe_irq_mask);
34EXPORT_SYMBOL(kernel_thread);
35EXPORT_SYMBOL(disable_irq_nosync);
36EXPORT_SYMBOL(irq_desc);
37EXPORT_SYMBOL(no_irq_type);
38
Linus Torvalds1da177e2005-04-16 15:20:36 -070039EXPORT_SYMBOL(strstr);
40EXPORT_SYMBOL(strlen);
41EXPORT_SYMBOL(strnlen);
42EXPORT_SYMBOL(strchr);
43EXPORT_SYMBOL(strcat);
44EXPORT_SYMBOL(strncat);
45
46/* PCI exports */
47#ifdef CONFIG_PCI
48EXPORT_SYMBOL(pci_alloc_consistent);
49EXPORT_SYMBOL(pci_free_consistent);
50#endif
51
52/* mem exports */
53EXPORT_SYMBOL(memchr);
54EXPORT_SYMBOL(memcpy);
55EXPORT_SYMBOL(memcpy_fromio);
56EXPORT_SYMBOL(memcpy_toio);
57EXPORT_SYMBOL(memset);
58EXPORT_SYMBOL(memset_io);
59EXPORT_SYMBOL(memmove);
60EXPORT_SYMBOL(memcmp);
61EXPORT_SYMBOL(memscan);
62EXPORT_SYMBOL(__copy_user);
63EXPORT_SYMBOL(boot_cpu_data);
64
65#ifdef CONFIG_MMU
66EXPORT_SYMBOL(get_vm_area);
67#endif
68
69/* semaphore exports */
70EXPORT_SYMBOL(__up);
71EXPORT_SYMBOL(__down);
72EXPORT_SYMBOL(__down_interruptible);
73
74EXPORT_SYMBOL(__udelay);
75EXPORT_SYMBOL(__ndelay);
76EXPORT_SYMBOL(__const_udelay);
77
78EXPORT_SYMBOL(__div64_32);
79
80#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
81
82/* These symbols are generated by the compiler itself */
83DECLARE_EXPORT(__udivsi3);
84DECLARE_EXPORT(__udivdi3);
85DECLARE_EXPORT(__sdivsi3);
86DECLARE_EXPORT(__ashrdi3);
87DECLARE_EXPORT(__ashldi3);
88DECLARE_EXPORT(__lshrdi3);
89DECLARE_EXPORT(__movstr);
90
91EXPORT_SYMBOL(strcpy);
92
93#ifdef CONFIG_CPU_SH4
94DECLARE_EXPORT(__movstr_i4_even);
95DECLARE_EXPORT(__movstr_i4_odd);
96DECLARE_EXPORT(__movstrSI12_i4);
97
98/* needed by some modules */
99EXPORT_SYMBOL(flush_cache_all);
100EXPORT_SYMBOL(flush_cache_range);
101EXPORT_SYMBOL(flush_dcache_page);
102EXPORT_SYMBOL(__flush_purge_region);
103#endif
104
105#if defined(CONFIG_SH7705_CACHE_32KB)
106EXPORT_SYMBOL(flush_cache_all);
107EXPORT_SYMBOL(flush_cache_range);
108EXPORT_SYMBOL(flush_dcache_page);
109EXPORT_SYMBOL(__flush_purge_region);
110#endif
111
112EXPORT_SYMBOL(flush_tlb_page);
113EXPORT_SYMBOL(__down_trylock);
114
115#ifdef CONFIG_SMP
116EXPORT_SYMBOL(synchronize_irq);
117#endif
118
119EXPORT_SYMBOL(csum_partial);
Paul Mundte4c2cfe2006-09-27 12:31:01 +0900120#ifdef CONFIG_IPV6
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121EXPORT_SYMBOL(csum_ipv6_magic);
Paul Mundte4c2cfe2006-09-27 12:31:01 +0900122#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123EXPORT_SYMBOL(consistent_sync);
124EXPORT_SYMBOL(clear_page);