Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 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); |
Chen Gang | 726dcaa | 2013-05-20 08:12:57 +0100 | [diff] [blame] | 37 | EXPORT_SYMBOL(clear_page); |
Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 38 | |
| 39 | EXPORT_SYMBOL(__copy_from_user); |
| 40 | EXPORT_SYMBOL(__copy_to_user); |
| 41 | EXPORT_SYMBOL(__clear_user); |
| 42 | |
Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 43 | /* physical memory */ |
| 44 | EXPORT_SYMBOL(memstart_addr); |
Catalin Marinas | 4a89922 | 2013-03-21 16:16:43 +0000 | [diff] [blame] | 45 | |
| 46 | /* string / mem functions */ |
Catalin Marinas | 2b8cac8 | 2013-03-21 16:23:43 +0000 | [diff] [blame] | 47 | EXPORT_SYMBOL(strchr); |
| 48 | EXPORT_SYMBOL(strrchr); |
Catalin Marinas | 4a89922 | 2013-03-21 16:16:43 +0000 | [diff] [blame] | 49 | EXPORT_SYMBOL(memset); |
| 50 | EXPORT_SYMBOL(memcpy); |
| 51 | EXPORT_SYMBOL(memmove); |
| 52 | EXPORT_SYMBOL(memchr); |
Catalin Marinas | 6247958 | 2013-03-21 16:28:47 +0000 | [diff] [blame] | 53 | |
| 54 | /* atomic bitops */ |
| 55 | EXPORT_SYMBOL(set_bit); |
| 56 | EXPORT_SYMBOL(test_and_set_bit); |
| 57 | EXPORT_SYMBOL(clear_bit); |
| 58 | EXPORT_SYMBOL(test_and_clear_bit); |
| 59 | EXPORT_SYMBOL(change_bit); |
| 60 | EXPORT_SYMBOL(test_and_change_bit); |