Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); |
| 24 | extern struct hw_interrupt_type no_irq_type; |
| 25 | |
| 26 | EXPORT_SYMBOL(sh_mv); |
| 27 | |
| 28 | /* platform dependent support */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | EXPORT_SYMBOL(dump_fpu); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | EXPORT_SYMBOL(kernel_thread); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | EXPORT_SYMBOL(irq_desc); |
| 32 | EXPORT_SYMBOL(no_irq_type); |
| 33 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | EXPORT_SYMBOL(strlen); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 35 | |
| 36 | /* PCI exports */ |
| 37 | #ifdef CONFIG_PCI |
| 38 | EXPORT_SYMBOL(pci_alloc_consistent); |
| 39 | EXPORT_SYMBOL(pci_free_consistent); |
| 40 | #endif |
| 41 | |
| 42 | /* mem exports */ |
| 43 | EXPORT_SYMBOL(memchr); |
| 44 | EXPORT_SYMBOL(memcpy); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | EXPORT_SYMBOL(memset); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | EXPORT_SYMBOL(memmove); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | EXPORT_SYMBOL(__copy_user); |
| 48 | EXPORT_SYMBOL(boot_cpu_data); |
| 49 | |
| 50 | #ifdef CONFIG_MMU |
| 51 | EXPORT_SYMBOL(get_vm_area); |
| 52 | #endif |
| 53 | |
| 54 | /* semaphore exports */ |
| 55 | EXPORT_SYMBOL(__up); |
| 56 | EXPORT_SYMBOL(__down); |
| 57 | EXPORT_SYMBOL(__down_interruptible); |
| 58 | |
| 59 | EXPORT_SYMBOL(__udelay); |
| 60 | EXPORT_SYMBOL(__ndelay); |
| 61 | EXPORT_SYMBOL(__const_udelay); |
| 62 | |
| 63 | EXPORT_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 */ |
| 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 | |
| 76 | EXPORT_SYMBOL(strcpy); |
| 77 | |
| 78 | #ifdef CONFIG_CPU_SH4 |
| 79 | DECLARE_EXPORT(__movstr_i4_even); |
| 80 | DECLARE_EXPORT(__movstr_i4_odd); |
| 81 | DECLARE_EXPORT(__movstrSI12_i4); |
Yoshinori Sato | a2d1a5f | 2006-09-27 17:25:07 +0900 | [diff] [blame] | 82 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 83 | |
Yoshinori Sato | a2d1a5f | 2006-09-27 17:25:07 +0900 | [diff] [blame] | 84 | #if defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 85 | /* needed by some modules */ |
| 86 | EXPORT_SYMBOL(flush_cache_all); |
| 87 | EXPORT_SYMBOL(flush_cache_range); |
| 88 | EXPORT_SYMBOL(flush_dcache_page); |
| 89 | EXPORT_SYMBOL(__flush_purge_region); |
| 90 | #endif |
| 91 | |
Paul Mundt | e5723e0 | 2006-09-27 17:38:11 +0900 | [diff] [blame^] | 92 | #if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \ |
| 93 | defined(CONFIG_SH7705_CACHE_32KB)) |
Yoshinori Sato | a2d1a5f | 2006-09-27 17:25:07 +0900 | [diff] [blame] | 94 | EXPORT_SYMBOL(clear_user_page); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 95 | #endif |
| 96 | |
| 97 | EXPORT_SYMBOL(flush_tlb_page); |
| 98 | EXPORT_SYMBOL(__down_trylock); |
| 99 | |
| 100 | #ifdef CONFIG_SMP |
| 101 | EXPORT_SYMBOL(synchronize_irq); |
| 102 | #endif |
| 103 | |
Andriy Skulysh | 3aa770e | 2006-09-27 16:20:22 +0900 | [diff] [blame] | 104 | #ifdef CONFIG_PM |
| 105 | EXPORT_SYMBOL(pm_suspend); |
| 106 | #endif |
| 107 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 108 | EXPORT_SYMBOL(csum_partial); |
Paul Mundt | e4c2cfe | 2006-09-27 12:31:01 +0900 | [diff] [blame] | 109 | #ifdef CONFIG_IPV6 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 110 | EXPORT_SYMBOL(csum_ipv6_magic); |
Paul Mundt | e4c2cfe | 2006-09-27 12:31:01 +0900 | [diff] [blame] | 111 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 112 | EXPORT_SYMBOL(clear_page); |