blob: d3cbfa2ad4a785b13d9e6b130ee5c435b9cbf948 [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);
Linus Torvalds1da177e2005-04-16 15:20:36 -070030EXPORT_SYMBOL(kernel_thread);
Linus Torvalds1da177e2005-04-16 15:20:36 -070031EXPORT_SYMBOL(irq_desc);
32EXPORT_SYMBOL(no_irq_type);
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034EXPORT_SYMBOL(strlen);
Linus Torvalds1da177e2005-04-16 15:20:36 -070035
36/* PCI exports */
37#ifdef CONFIG_PCI
38EXPORT_SYMBOL(pci_alloc_consistent);
39EXPORT_SYMBOL(pci_free_consistent);
40#endif
41
42/* mem exports */
43EXPORT_SYMBOL(memchr);
44EXPORT_SYMBOL(memcpy);
Linus Torvalds1da177e2005-04-16 15:20:36 -070045EXPORT_SYMBOL(memset);
Linus Torvalds1da177e2005-04-16 15:20:36 -070046EXPORT_SYMBOL(memmove);
Linus Torvalds1da177e2005-04-16 15:20:36 -070047EXPORT_SYMBOL(__copy_user);
48EXPORT_SYMBOL(boot_cpu_data);
49
50#ifdef CONFIG_MMU
51EXPORT_SYMBOL(get_vm_area);
52#endif
53
54/* semaphore exports */
55EXPORT_SYMBOL(__up);
56EXPORT_SYMBOL(__down);
57EXPORT_SYMBOL(__down_interruptible);
58
59EXPORT_SYMBOL(__udelay);
60EXPORT_SYMBOL(__ndelay);
61EXPORT_SYMBOL(__const_udelay);
62
63EXPORT_SYMBOL(__div64_32);
64
65#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
66
67/* These symbols are generated by the compiler itself */
68DECLARE_EXPORT(__udivsi3);
69DECLARE_EXPORT(__udivdi3);
70DECLARE_EXPORT(__sdivsi3);
71DECLARE_EXPORT(__ashrdi3);
72DECLARE_EXPORT(__ashldi3);
73DECLARE_EXPORT(__lshrdi3);
74DECLARE_EXPORT(__movstr);
75
76EXPORT_SYMBOL(strcpy);
77
78#ifdef CONFIG_CPU_SH4
79DECLARE_EXPORT(__movstr_i4_even);
80DECLARE_EXPORT(__movstr_i4_odd);
81DECLARE_EXPORT(__movstrSI12_i4);
Yoshinori Satoa2d1a5f2006-09-27 17:25:07 +090082#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070083
Yoshinori Satoa2d1a5f2006-09-27 17:25:07 +090084#if defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB)
Linus Torvalds1da177e2005-04-16 15:20:36 -070085/* needed by some modules */
86EXPORT_SYMBOL(flush_cache_all);
87EXPORT_SYMBOL(flush_cache_range);
88EXPORT_SYMBOL(flush_dcache_page);
89EXPORT_SYMBOL(__flush_purge_region);
90#endif
91
Paul Mundte5723e02006-09-27 17:38:11 +090092#if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \
93 defined(CONFIG_SH7705_CACHE_32KB))
Yoshinori Satoa2d1a5f2006-09-27 17:25:07 +090094EXPORT_SYMBOL(clear_user_page);
Linus Torvalds1da177e2005-04-16 15:20:36 -070095#endif
96
97EXPORT_SYMBOL(flush_tlb_page);
98EXPORT_SYMBOL(__down_trylock);
99
100#ifdef CONFIG_SMP
101EXPORT_SYMBOL(synchronize_irq);
102#endif
103
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900104#ifdef CONFIG_PM
105EXPORT_SYMBOL(pm_suspend);
106#endif
107
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108EXPORT_SYMBOL(csum_partial);
Paul Mundte4c2cfe2006-09-27 12:31:01 +0900109#ifdef CONFIG_IPV6
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110EXPORT_SYMBOL(csum_ipv6_magic);
Paul Mundte4c2cfe2006-09-27 12:31:01 +0900111#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112EXPORT_SYMBOL(clear_page);