arm64: klib: Optimised string functions
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm64 / kernel / arm64ksyms.c
CommitLineData
f27bb139
MZ
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
30#include <asm/checksum.h>
31
32 /* user mem (segment) */
33EXPORT_SYMBOL(__strnlen_user);
34EXPORT_SYMBOL(__strncpy_from_user);
35
36EXPORT_SYMBOL(copy_page);
37
38EXPORT_SYMBOL(__copy_from_user);
39EXPORT_SYMBOL(__copy_to_user);
40EXPORT_SYMBOL(__clear_user);
41
42 /* bitops */
a2c91547 43#ifdef CONFIG_SMP
f27bb139 44EXPORT_SYMBOL(__atomic_hash);
a2c91547 45#endif
f27bb139
MZ
46
47 /* physical memory */
48EXPORT_SYMBOL(memstart_addr);
4a899227
CM
49
50 /* string / mem functions */
2b8cac81
CM
51EXPORT_SYMBOL(strchr);
52EXPORT_SYMBOL(strrchr);
4a899227
CM
53EXPORT_SYMBOL(memset);
54EXPORT_SYMBOL(memcpy);
55EXPORT_SYMBOL(memmove);
56EXPORT_SYMBOL(memchr);