power: supply: bq25890: fix BAT_COMP field definition
[sfrench/cifs-2.6.git] / arch / arm64 / kernel / arm64ksyms.c
1 /*
2  * Based on arch/arm/kernel/armksyms.c
3  *
4  * Copyright (C) 2000 Russell King
5  * Copyright (C) 2012 ARM Ltd.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 #include <linux/export.h>
21 #include <linux/sched.h>
22 #include <linux/string.h>
23 #include <linux/cryptohash.h>
24 #include <linux/delay.h>
25 #include <linux/in6.h>
26 #include <linux/syscalls.h>
27 #include <linux/uaccess.h>
28 #include <linux/io.h>
29 #include <linux/arm-smccc.h>
30 #include <linux/kprobes.h>
31
32 #include <asm/checksum.h>
33
34 EXPORT_SYMBOL(copy_page);
35 EXPORT_SYMBOL(clear_page);
36
37         /* user mem (segment) */
38 EXPORT_SYMBOL(__arch_copy_from_user);
39 EXPORT_SYMBOL(__arch_copy_to_user);
40 EXPORT_SYMBOL(__arch_clear_user);
41 EXPORT_SYMBOL(__arch_copy_in_user);
42
43         /* physical memory */
44 EXPORT_SYMBOL(memstart_addr);
45
46         /* string / mem functions */
47 #ifndef CONFIG_KASAN
48 EXPORT_SYMBOL(strchr);
49 EXPORT_SYMBOL(strrchr);
50 EXPORT_SYMBOL(strcmp);
51 EXPORT_SYMBOL(strncmp);
52 EXPORT_SYMBOL(strlen);
53 EXPORT_SYMBOL(strnlen);
54 EXPORT_SYMBOL(memcmp);
55 EXPORT_SYMBOL(memchr);
56 #endif
57
58 EXPORT_SYMBOL(memset);
59 EXPORT_SYMBOL(memcpy);
60 EXPORT_SYMBOL(memmove);
61 EXPORT_SYMBOL(__memset);
62 EXPORT_SYMBOL(__memcpy);
63 EXPORT_SYMBOL(__memmove);
64
65         /* atomic bitops */
66 EXPORT_SYMBOL(set_bit);
67 EXPORT_SYMBOL(test_and_set_bit);
68 EXPORT_SYMBOL(clear_bit);
69 EXPORT_SYMBOL(test_and_clear_bit);
70 EXPORT_SYMBOL(change_bit);
71 EXPORT_SYMBOL(test_and_change_bit);
72
73 #ifdef CONFIG_FUNCTION_TRACER
74 EXPORT_SYMBOL(_mcount);
75 NOKPROBE_SYMBOL(_mcount);
76 #endif
77
78         /* arm-smccc */
79 EXPORT_SYMBOL(__arm_smccc_smc);
80 EXPORT_SYMBOL(__arm_smccc_hvc);
81
82         /* tishift.S */
83 extern long long __ashlti3(long long a, int b);
84 EXPORT_SYMBOL(__ashlti3);
85 extern long long __ashrti3(long long a, int b);
86 EXPORT_SYMBOL(__ashrti3);
87 extern long long __lshrti3(long long a, int b);
88 EXPORT_SYMBOL(__lshrti3);