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(iounmap
);
31 EXPORT_SYMBOL(enable_irq
);
32 EXPORT_SYMBOL(disable_irq
);
33 EXPORT_SYMBOL(probe_irq_mask
);
34 EXPORT_SYMBOL(kernel_thread
);
35 EXPORT_SYMBOL(disable_irq_nosync
);
36 EXPORT_SYMBOL(irq_desc
);
37 EXPORT_SYMBOL(no_irq_type
);
39 EXPORT_SYMBOL(strstr
);
40 EXPORT_SYMBOL(strlen
);
41 EXPORT_SYMBOL(strnlen
);
42 EXPORT_SYMBOL(strchr
);
43 EXPORT_SYMBOL(strcat
);
44 EXPORT_SYMBOL(strncat
);
48 EXPORT_SYMBOL(pci_alloc_consistent
);
49 EXPORT_SYMBOL(pci_free_consistent
);
53 EXPORT_SYMBOL(memchr
);
54 EXPORT_SYMBOL(memcpy
);
55 EXPORT_SYMBOL(memcpy_fromio
);
56 EXPORT_SYMBOL(memcpy_toio
);
57 EXPORT_SYMBOL(memset
);
58 EXPORT_SYMBOL(memset_io
);
59 EXPORT_SYMBOL(memmove
);
60 EXPORT_SYMBOL(memcmp
);
61 EXPORT_SYMBOL(memscan
);
62 EXPORT_SYMBOL(__copy_user
);
63 EXPORT_SYMBOL(boot_cpu_data
);
66 EXPORT_SYMBOL(get_vm_area
);
69 /* semaphore exports */
71 EXPORT_SYMBOL(__down
);
72 EXPORT_SYMBOL(__down_interruptible
);
74 EXPORT_SYMBOL(__udelay
);
75 EXPORT_SYMBOL(__ndelay
);
76 EXPORT_SYMBOL(__const_udelay
);
78 EXPORT_SYMBOL(__div64_32
);
80 #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
82 /* These symbols are generated by the compiler itself */
83 DECLARE_EXPORT(__udivsi3
);
84 DECLARE_EXPORT(__udivdi3
);
85 DECLARE_EXPORT(__sdivsi3
);
86 DECLARE_EXPORT(__ashrdi3
);
87 DECLARE_EXPORT(__ashldi3
);
88 DECLARE_EXPORT(__lshrdi3
);
89 DECLARE_EXPORT(__movstr
);
91 EXPORT_SYMBOL(strcpy
);
94 DECLARE_EXPORT(__movstr_i4_even
);
95 DECLARE_EXPORT(__movstr_i4_odd
);
96 DECLARE_EXPORT(__movstrSI12_i4
);
98 /* needed by some modules */
99 EXPORT_SYMBOL(flush_cache_all
);
100 EXPORT_SYMBOL(flush_cache_range
);
101 EXPORT_SYMBOL(flush_dcache_page
);
102 EXPORT_SYMBOL(__flush_purge_region
);
105 #if defined(CONFIG_SH7705_CACHE_32KB)
106 EXPORT_SYMBOL(flush_cache_all
);
107 EXPORT_SYMBOL(flush_cache_range
);
108 EXPORT_SYMBOL(flush_dcache_page
);
109 EXPORT_SYMBOL(__flush_purge_region
);
112 EXPORT_SYMBOL(flush_tlb_page
);
113 EXPORT_SYMBOL(__down_trylock
);
116 EXPORT_SYMBOL(synchronize_irq
);
119 EXPORT_SYMBOL(csum_partial
);
120 EXPORT_SYMBOL(csum_ipv6_magic
);
121 EXPORT_SYMBOL(consistent_sync
);
122 EXPORT_SYMBOL(clear_page
);