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> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #include <linux/string.h> |
| 9 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | #include <asm/processor.h> |
Linus Torvalds | 7c0f6ba | 2016-12-24 11:46:01 -0800 | [diff] [blame] | 11 | #include <linux/uaccess.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #include <asm/checksum.h> |
| 13 | #include <asm/io.h> |
| 14 | #include <asm/delay.h> |
| 15 | #include <asm/irq.h> |
| 16 | #include <asm/tlbflush.h> |
Adrian Bunk | affa6b1 | 2008-09-24 14:59:57 +0900 | [diff] [blame] | 17 | #include <asm/pgtable.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | /* platform dependent support */ |
| 20 | EXPORT_SYMBOL(boot_cpu_data); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | EXPORT_SYMBOL(dump_fpu); |
| 22 | EXPORT_SYMBOL(__ioremap); |
| 23 | EXPORT_SYMBOL(iounmap); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | EXPORT_SYMBOL(strncpy_from_user); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | EXPORT_SYMBOL(clear_user); |
| 27 | EXPORT_SYMBOL(__clear_user); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | EXPORT_SYMBOL(strnlen_user); |
| 29 | |
| 30 | #ifdef CONFIG_SMP |
| 31 | #ifdef CONFIG_CHIP_M32700_TS1 |
| 32 | extern void *dcache_dummy; |
| 33 | EXPORT_SYMBOL(dcache_dummy); |
| 34 | #endif |
| 35 | EXPORT_SYMBOL(cpu_data); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | /* TLB flushing */ |
| 38 | EXPORT_SYMBOL(smp_flush_tlb_page); |
| 39 | #endif |
| 40 | |
Sudip Mukherjee | a44ce52 | 2016-07-26 15:21:23 -0700 | [diff] [blame] | 41 | extern int __ucmpdi2(unsigned long long a, unsigned long long b); |
| 42 | EXPORT_SYMBOL(__ucmpdi2); |
| 43 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | /* compiler generated symbol */ |
| 45 | extern void __ashldi3(void); |
| 46 | extern void __ashrdi3(void); |
| 47 | extern void __lshldi3(void); |
| 48 | extern void __lshrdi3(void); |
| 49 | extern void __muldi3(void); |
| 50 | EXPORT_SYMBOL(__ashldi3); |
| 51 | EXPORT_SYMBOL(__ashrdi3); |
| 52 | EXPORT_SYMBOL(__lshldi3); |
| 53 | EXPORT_SYMBOL(__lshrdi3); |
| 54 | EXPORT_SYMBOL(__muldi3); |
| 55 | |
| 56 | /* memory and string operations */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 57 | EXPORT_SYMBOL(memcpy); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | EXPORT_SYMBOL(memset); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 59 | EXPORT_SYMBOL(copy_page); |
| 60 | EXPORT_SYMBOL(clear_page); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | EXPORT_SYMBOL(strlen); |
Adrian Bunk | affa6b1 | 2008-09-24 14:59:57 +0900 | [diff] [blame] | 62 | EXPORT_SYMBOL(empty_zero_page); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | |
| 64 | EXPORT_SYMBOL(_inb); |
| 65 | EXPORT_SYMBOL(_inw); |
| 66 | EXPORT_SYMBOL(_inl); |
| 67 | EXPORT_SYMBOL(_outb); |
| 68 | EXPORT_SYMBOL(_outw); |
| 69 | EXPORT_SYMBOL(_outl); |
| 70 | EXPORT_SYMBOL(_inb_p); |
| 71 | EXPORT_SYMBOL(_inw_p); |
| 72 | EXPORT_SYMBOL(_inl_p); |
| 73 | EXPORT_SYMBOL(_outb_p); |
| 74 | EXPORT_SYMBOL(_outw_p); |
| 75 | EXPORT_SYMBOL(_outl_p); |
| 76 | EXPORT_SYMBOL(_insb); |
| 77 | EXPORT_SYMBOL(_insw); |
| 78 | EXPORT_SYMBOL(_insl); |
| 79 | EXPORT_SYMBOL(_outsb); |
| 80 | EXPORT_SYMBOL(_outsw); |
| 81 | EXPORT_SYMBOL(_outsl); |
| 82 | EXPORT_SYMBOL(_readb); |
| 83 | EXPORT_SYMBOL(_readw); |
| 84 | EXPORT_SYMBOL(_readl); |
| 85 | EXPORT_SYMBOL(_writeb); |
| 86 | EXPORT_SYMBOL(_writew); |
| 87 | EXPORT_SYMBOL(_writel); |
| 88 | |