diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-03-05 06:49:33 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2012-09-17 08:42:18 -0400 |
commit | f27bb139c3876806a2c82e979d2dbbece44c66df (patch) | |
tree | b89925966ca77224f0605dc85521a2e55ab89c70 /arch/arm64/kernel/arm64ksyms.c | |
parent | 030896885ade0a17c8638e1ede8d3ca7099f0302 (diff) |
arm64: Miscellaneous library functions
This patch adds udelay, memory and bit operations together with the
ksyms exports.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm64/kernel/arm64ksyms.c')
-rw-r--r-- | arch/arm64/kernel/arm64ksyms.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm64/kernel/arm64ksyms.c b/arch/arm64/kernel/arm64ksyms.c new file mode 100644 index 000000000000..cef3925eaf60 --- /dev/null +++ b/arch/arm64/kernel/arm64ksyms.c | |||
@@ -0,0 +1,46 @@ | |||
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) */ | ||
33 | EXPORT_SYMBOL(__strnlen_user); | ||
34 | EXPORT_SYMBOL(__strncpy_from_user); | ||
35 | |||
36 | EXPORT_SYMBOL(copy_page); | ||
37 | |||
38 | EXPORT_SYMBOL(__copy_from_user); | ||
39 | EXPORT_SYMBOL(__copy_to_user); | ||
40 | EXPORT_SYMBOL(__clear_user); | ||
41 | |||
42 | /* bitops */ | ||
43 | EXPORT_SYMBOL(__atomic_hash); | ||
44 | |||
45 | /* physical memory */ | ||
46 | EXPORT_SYMBOL(memstart_addr); | ||