blob: 68da6b800453108cd093845dce7b18c950b04501 [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>
Linus Torvalds1da177e2005-04-16 15:20:36 -07008#include <linux/string.h>
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010#include <asm/processor.h>
Linus Torvalds7c0f6ba2016-12-24 11:46:01 -080011#include <linux/uaccess.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#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 Bunkaffa6b12008-09-24 14:59:57 +090017#include <asm/pgtable.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Linus Torvalds1da177e2005-04-16 15:20:36 -070019/* platform dependent support */
20EXPORT_SYMBOL(boot_cpu_data);
Linus Torvalds1da177e2005-04-16 15:20:36 -070021EXPORT_SYMBOL(dump_fpu);
22EXPORT_SYMBOL(__ioremap);
23EXPORT_SYMBOL(iounmap);
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
Linus Torvalds1da177e2005-04-16 15:20:36 -070025EXPORT_SYMBOL(strncpy_from_user);
Linus Torvalds1da177e2005-04-16 15:20:36 -070026EXPORT_SYMBOL(clear_user);
27EXPORT_SYMBOL(__clear_user);
Linus Torvalds1da177e2005-04-16 15:20:36 -070028EXPORT_SYMBOL(strnlen_user);
29
30#ifdef CONFIG_SMP
31#ifdef CONFIG_CHIP_M32700_TS1
32extern void *dcache_dummy;
33EXPORT_SYMBOL(dcache_dummy);
34#endif
35EXPORT_SYMBOL(cpu_data);
Linus Torvalds1da177e2005-04-16 15:20:36 -070036
Linus Torvalds1da177e2005-04-16 15:20:36 -070037/* TLB flushing */
38EXPORT_SYMBOL(smp_flush_tlb_page);
39#endif
40
Sudip Mukherjeea44ce522016-07-26 15:21:23 -070041extern int __ucmpdi2(unsigned long long a, unsigned long long b);
42EXPORT_SYMBOL(__ucmpdi2);
43
Linus Torvalds1da177e2005-04-16 15:20:36 -070044/* compiler generated symbol */
45extern void __ashldi3(void);
46extern void __ashrdi3(void);
47extern void __lshldi3(void);
48extern void __lshrdi3(void);
49extern void __muldi3(void);
50EXPORT_SYMBOL(__ashldi3);
51EXPORT_SYMBOL(__ashrdi3);
52EXPORT_SYMBOL(__lshldi3);
53EXPORT_SYMBOL(__lshrdi3);
54EXPORT_SYMBOL(__muldi3);
55
56/* memory and string operations */
Linus Torvalds1da177e2005-04-16 15:20:36 -070057EXPORT_SYMBOL(memcpy);
Linus Torvalds1da177e2005-04-16 15:20:36 -070058EXPORT_SYMBOL(memset);
Linus Torvalds1da177e2005-04-16 15:20:36 -070059EXPORT_SYMBOL(copy_page);
60EXPORT_SYMBOL(clear_page);
Linus Torvalds1da177e2005-04-16 15:20:36 -070061EXPORT_SYMBOL(strlen);
Adrian Bunkaffa6b12008-09-24 14:59:57 +090062EXPORT_SYMBOL(empty_zero_page);
Linus Torvalds1da177e2005-04-16 15:20:36 -070063
64EXPORT_SYMBOL(_inb);
65EXPORT_SYMBOL(_inw);
66EXPORT_SYMBOL(_inl);
67EXPORT_SYMBOL(_outb);
68EXPORT_SYMBOL(_outw);
69EXPORT_SYMBOL(_outl);
70EXPORT_SYMBOL(_inb_p);
71EXPORT_SYMBOL(_inw_p);
72EXPORT_SYMBOL(_inl_p);
73EXPORT_SYMBOL(_outb_p);
74EXPORT_SYMBOL(_outw_p);
75EXPORT_SYMBOL(_outl_p);
76EXPORT_SYMBOL(_insb);
77EXPORT_SYMBOL(_insw);
78EXPORT_SYMBOL(_insl);
79EXPORT_SYMBOL(_outsb);
80EXPORT_SYMBOL(_outsw);
81EXPORT_SYMBOL(_outsl);
82EXPORT_SYMBOL(_readb);
83EXPORT_SYMBOL(_readw);
84EXPORT_SYMBOL(_readl);
85EXPORT_SYMBOL(_writeb);
86EXPORT_SYMBOL(_writew);
87EXPORT_SYMBOL(_writel);
88