1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17#include <linux/module.h>
18
19
20#include <linux/uaccess.h>
21EXPORT_SYMBOL(clear_user_asm);
22EXPORT_SYMBOL(flush_user_asm);
23EXPORT_SYMBOL(finv_user_asm);
24
25
26#include <linux/kernel.h>
27#include <asm/processor.h>
28EXPORT_SYMBOL(current_text_addr);
29
30
31EXPORT_SYMBOL(empty_zero_page);
32
33#ifdef CONFIG_FUNCTION_TRACER
34
35#include <asm/ftrace.h>
36EXPORT_SYMBOL(__mcount);
37#endif
38
39
40EXPORT_SYMBOL(memcpy);
41EXPORT_SYMBOL(raw_copy_to_user);
42EXPORT_SYMBOL(raw_copy_from_user);
43#ifdef __tilegx__
44EXPORT_SYMBOL(raw_copy_in_user);
45#endif
46
47
48#include <hv/hypervisor.h>
49EXPORT_SYMBOL(hv_dev_open);
50EXPORT_SYMBOL(hv_dev_pread);
51EXPORT_SYMBOL(hv_dev_pwrite);
52EXPORT_SYMBOL(hv_dev_preada);
53EXPORT_SYMBOL(hv_dev_pwritea);
54EXPORT_SYMBOL(hv_dev_poll);
55EXPORT_SYMBOL(hv_dev_poll_cancel);
56EXPORT_SYMBOL(hv_dev_close);
57EXPORT_SYMBOL(hv_sysconf);
58EXPORT_SYMBOL(hv_confstr);
59EXPORT_SYMBOL(hv_get_rtc);
60EXPORT_SYMBOL(hv_set_rtc);
61
62
63uint32_t __udivsi3(uint32_t dividend, uint32_t divisor);
64EXPORT_SYMBOL(__udivsi3);
65int32_t __divsi3(int32_t dividend, int32_t divisor);
66EXPORT_SYMBOL(__divsi3);
67uint64_t __udivdi3(uint64_t dividend, uint64_t divisor);
68EXPORT_SYMBOL(__udivdi3);
69int64_t __divdi3(int64_t dividend, int64_t divisor);
70EXPORT_SYMBOL(__divdi3);
71uint32_t __umodsi3(uint32_t dividend, uint32_t divisor);
72EXPORT_SYMBOL(__umodsi3);
73int32_t __modsi3(int32_t dividend, int32_t divisor);
74EXPORT_SYMBOL(__modsi3);
75uint64_t __umoddi3(uint64_t dividend, uint64_t divisor);
76EXPORT_SYMBOL(__umoddi3);
77int64_t __moddi3(int64_t dividend, int64_t divisor);
78EXPORT_SYMBOL(__moddi3);
79#ifdef __tilegx__
80typedef int TItype __attribute__((mode(TI)));
81TItype __multi3(TItype a, TItype b);
82EXPORT_SYMBOL(__multi3);
83#else
84int64_t __muldi3(int64_t, int64_t);
85EXPORT_SYMBOL(__muldi3);
86uint64_t __lshrdi3(uint64_t, unsigned int);
87EXPORT_SYMBOL(__lshrdi3);
88uint64_t __ashrdi3(uint64_t, unsigned int);
89EXPORT_SYMBOL(__ashrdi3);
90uint64_t __ashldi3(uint64_t, unsigned int);
91EXPORT_SYMBOL(__ashldi3);
92int __ffsdi2(uint64_t);
93EXPORT_SYMBOL(__ffsdi2);
94#endif
95