1 #include <linux/module.h>
3 #include <linux/user.h>
4 #include <linux/elfcore.h>
5 #include <linux/sched.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>
13 #include <asm/semaphore.h>
14 #include <asm/processor.h>
15 #include <asm/uaccess.h>
16 #include <asm/checksum.h>
18 #include <asm/delay.h>
19 #include <asm/tlbflush.h>
20 #include <asm/cacheflush.h>
21 #include <asm/checksum.h>
23 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
24 extern struct hw_interrupt_type no_irq_type;
28 /* platform dependent support */
29 EXPORT_SYMBOL(dump_fpu);
30 EXPORT_SYMBOL(kernel_thread);
31 EXPORT_SYMBOL(irq_desc);
32 EXPORT_SYMBOL(no_irq_type);
34 EXPORT_SYMBOL(strlen);
38 EXPORT_SYMBOL(pci_alloc_consistent);
39 EXPORT_SYMBOL(pci_free_consistent);
43 EXPORT_SYMBOL(memchr);
44 EXPORT_SYMBOL(memcpy);
45 EXPORT_SYMBOL(memset);
46 EXPORT_SYMBOL(memmove);
47 EXPORT_SYMBOL(__copy_user);
48 EXPORT_SYMBOL(boot_cpu_data);
51 EXPORT_SYMBOL(get_vm_area);
54 /* semaphore exports */
56 EXPORT_SYMBOL(__down);
57 EXPORT_SYMBOL(__down_interruptible);
59 EXPORT_SYMBOL(__udelay);
60 EXPORT_SYMBOL(__ndelay);
61 EXPORT_SYMBOL(__const_udelay);
63 EXPORT_SYMBOL(__div64_32);
65 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
67 /* These symbols are generated by the compiler itself */
68 DECLARE_EXPORT(__udivsi3);
69 DECLARE_EXPORT(__udivdi3);
70 DECLARE_EXPORT(__sdivsi3);
71 DECLARE_EXPORT(__ashrdi3);
72 DECLARE_EXPORT(__ashldi3);
73 DECLARE_EXPORT(__lshrdi3);
74 DECLARE_EXPORT(__movstr);
75 DECLARE_EXPORT(__movstrSI16);
77 EXPORT_SYMBOL(strcpy);
80 DECLARE_EXPORT(__movstr_i4_even);
81 DECLARE_EXPORT(__movstr_i4_odd);
82 DECLARE_EXPORT(__movstrSI12_i4);
85 #if defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB)
86 /* needed by some modules */
87 EXPORT_SYMBOL(flush_cache_all);
88 EXPORT_SYMBOL(flush_cache_range);
89 EXPORT_SYMBOL(flush_dcache_page);
90 EXPORT_SYMBOL(__flush_purge_region);
93 #if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \
94 defined(CONFIG_SH7705_CACHE_32KB))
95 EXPORT_SYMBOL(clear_user_page);
98 EXPORT_SYMBOL(flush_tlb_page);
99 EXPORT_SYMBOL(__down_trylock);
102 EXPORT_SYMBOL(synchronize_irq);
106 EXPORT_SYMBOL(pm_suspend);
109 EXPORT_SYMBOL(csum_partial);
111 EXPORT_SYMBOL(csum_ipv6_magic);
113 EXPORT_SYMBOL(clear_page);