1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/module.h>
4 #include <linux/user.h>
5 #include <linux/elfcore.h>
6 #include <linux/sched.h>
8 #include <linux/interrupt.h>
9 #include <linux/string.h>
11 #include <asm/processor.h>
12 #include <linux/uaccess.h>
13 #include <asm/checksum.h>
15 #include <asm/delay.h>
17 #include <asm/tlbflush.h>
18 #include <asm/pgtable.h>
20 /* platform dependent support */
21 EXPORT_SYMBOL(boot_cpu_data
);
22 EXPORT_SYMBOL(dump_fpu
);
23 EXPORT_SYMBOL(__ioremap
);
24 EXPORT_SYMBOL(iounmap
);
26 EXPORT_SYMBOL(strncpy_from_user
);
27 EXPORT_SYMBOL(clear_user
);
28 EXPORT_SYMBOL(__clear_user
);
29 EXPORT_SYMBOL(strnlen_user
);
32 #ifdef CONFIG_CHIP_M32700_TS1
33 extern void *dcache_dummy
;
34 EXPORT_SYMBOL(dcache_dummy
);
36 EXPORT_SYMBOL(cpu_data
);
39 EXPORT_SYMBOL(smp_flush_tlb_page
);
42 extern int __ucmpdi2(unsigned long long a
, unsigned long long b
);
43 EXPORT_SYMBOL(__ucmpdi2
);
45 /* compiler generated symbol */
46 extern void __ashldi3(void);
47 extern void __ashrdi3(void);
48 extern void __lshldi3(void);
49 extern void __lshrdi3(void);
50 extern void __muldi3(void);
51 EXPORT_SYMBOL(__ashldi3
);
52 EXPORT_SYMBOL(__ashrdi3
);
53 EXPORT_SYMBOL(__lshldi3
);
54 EXPORT_SYMBOL(__lshrdi3
);
55 EXPORT_SYMBOL(__muldi3
);
57 /* memory and string operations */
58 EXPORT_SYMBOL(memcpy
);
59 EXPORT_SYMBOL(memset
);
60 EXPORT_SYMBOL(copy_page
);
61 EXPORT_SYMBOL(clear_page
);
62 EXPORT_SYMBOL(strlen
);
63 EXPORT_SYMBOL(empty_zero_page
);
71 EXPORT_SYMBOL(_inb_p
);
72 EXPORT_SYMBOL(_inw_p
);
73 EXPORT_SYMBOL(_inl_p
);
74 EXPORT_SYMBOL(_outb_p
);
75 EXPORT_SYMBOL(_outw_p
);
76 EXPORT_SYMBOL(_outl_p
);
80 EXPORT_SYMBOL(_outsb
);
81 EXPORT_SYMBOL(_outsw
);
82 EXPORT_SYMBOL(_outsl
);
83 EXPORT_SYMBOL(_readb
);
84 EXPORT_SYMBOL(_readw
);
85 EXPORT_SYMBOL(_readl
);
86 EXPORT_SYMBOL(_writeb
);
87 EXPORT_SYMBOL(_writew
);
88 EXPORT_SYMBOL(_writel
);