2012-03-05 11:49:33 +00:00
/*
* Based on arch / arm / kernel / armksyms . c
*
* Copyright ( C ) 2000 Russell King
* Copyright ( C ) 2012 ARM Ltd .
*
* This program is free software ; you can redistribute it and / or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*/
# include <linux/export.h>
# include <linux/sched.h>
# include <linux/string.h>
# include <linux/cryptohash.h>
# include <linux/delay.h>
# include <linux/in6.h>
# include <linux/syscalls.h>
# include <linux/uaccess.h>
# include <linux/io.h>
2016-01-04 15:44:32 +01:00
# include <linux/arm-smccc.h>
2016-07-08 12:35:49 -04:00
# include <linux/kprobes.h>
2012-03-05 11:49:33 +00:00
# include <asm/checksum.h>
EXPORT_SYMBOL ( copy_page ) ;
2013-05-20 08:12:57 +01:00
EXPORT_SYMBOL ( clear_page ) ;
2012-03-05 11:49:33 +00:00
2013-11-06 17:20:22 +00:00
/* user mem (segment) */
2016-06-08 14:40:56 -07:00
EXPORT_SYMBOL ( __arch_copy_from_user ) ;
EXPORT_SYMBOL ( __arch_copy_to_user ) ;
2012-03-05 11:49:33 +00:00
EXPORT_SYMBOL ( __clear_user ) ;
2017-03-21 08:40:57 -04:00
EXPORT_SYMBOL ( raw_copy_in_user ) ;
2012-03-05 11:49:33 +00:00
/* physical memory */
EXPORT_SYMBOL ( memstart_addr ) ;
2013-03-21 16:16:43 +00:00
/* string / mem functions */
2013-03-21 16:23:43 +00:00
EXPORT_SYMBOL ( strchr ) ;
EXPORT_SYMBOL ( strrchr ) ;
2014-04-28 13:11:33 +08:00
EXPORT_SYMBOL ( strcmp ) ;
EXPORT_SYMBOL ( strncmp ) ;
2014-04-28 13:11:34 +08:00
EXPORT_SYMBOL ( strlen ) ;
EXPORT_SYMBOL ( strnlen ) ;
2013-03-21 16:16:43 +00:00
EXPORT_SYMBOL ( memset ) ;
EXPORT_SYMBOL ( memcpy ) ;
EXPORT_SYMBOL ( memmove ) ;
2015-10-12 18:52:58 +03:00
EXPORT_SYMBOL ( __memset ) ;
EXPORT_SYMBOL ( __memcpy ) ;
EXPORT_SYMBOL ( __memmove ) ;
2013-03-21 16:16:43 +00:00
EXPORT_SYMBOL ( memchr ) ;
2014-04-28 06:11:32 +01:00
EXPORT_SYMBOL ( memcmp ) ;
2013-03-21 16:28:47 +00:00
/* atomic bitops */
EXPORT_SYMBOL ( set_bit ) ;
EXPORT_SYMBOL ( test_and_set_bit ) ;
EXPORT_SYMBOL ( clear_bit ) ;
EXPORT_SYMBOL ( test_and_clear_bit ) ;
EXPORT_SYMBOL ( change_bit ) ;
EXPORT_SYMBOL ( test_and_change_bit ) ;
2014-04-30 18:54:33 +09:00
# ifdef CONFIG_FUNCTION_TRACER
EXPORT_SYMBOL ( _mcount ) ;
2016-07-08 12:35:49 -04:00
NOKPROBE_SYMBOL ( _mcount ) ;
2014-04-30 18:54:33 +09:00
# endif
2016-01-04 15:44:32 +01:00
/* arm-smccc */
2017-02-01 11:28:27 -06:00
EXPORT_SYMBOL ( __arm_smccc_smc ) ;
EXPORT_SYMBOL ( __arm_smccc_hvc ) ;