2019-05-29 07:12:41 -07:00
// SPDX-License-Identifier: GPL-2.0-only
2011-10-31 18:40:19 -05:00
/*
* Export of symbols defined in assembly files and / or libgcc .
*
2012-09-19 16:22:02 -05:00
* Copyright ( c ) 2010 - 2011 , The Linux Foundation . All rights reserved .
2011-10-31 18:40:19 -05:00
*/
2013-12-03 20:26:46 +08:00
# include <linux/dma-mapping.h>
2011-10-31 18:40:19 -05:00
# include <asm/hexagon_vm.h>
2013-12-03 20:26:46 +08:00
# include <asm/io.h>
2016-12-24 11:46:01 -08:00
# include <linux/uaccess.h>
2011-10-31 18:40:19 -05:00
2013-12-03 20:26:46 +08:00
/* Additional functions */
EXPORT_SYMBOL ( __clear_user_hexagon ) ;
2017-03-28 01:28:09 -04:00
EXPORT_SYMBOL ( raw_copy_from_user ) ;
EXPORT_SYMBOL ( raw_copy_to_user ) ;
2019-08-13 08:11:46 +02:00
EXPORT_SYMBOL ( iounmap ) ;
2013-12-03 20:26:46 +08:00
EXPORT_SYMBOL ( __strnlen_user ) ;
2011-10-31 18:40:19 -05:00
EXPORT_SYMBOL ( __vmgetie ) ;
EXPORT_SYMBOL ( __vmsetie ) ;
2013-12-03 20:26:46 +08:00
EXPORT_SYMBOL ( __vmyield ) ;
EXPORT_SYMBOL ( empty_zero_page ) ;
2019-08-12 23:27:12 +02:00
EXPORT_SYMBOL ( ioremap ) ;
2011-10-31 18:40:19 -05:00
EXPORT_SYMBOL ( memcpy ) ;
EXPORT_SYMBOL ( memset ) ;
2013-12-03 20:26:46 +08:00
/* Additional variables */
EXPORT_SYMBOL ( __phys_offset ) ;
EXPORT_SYMBOL ( _dflt_cache_att ) ;
2011-10-31 18:40:19 -05:00
# define DECLARE_EXPORT(name) \
extern void name ( void ) ; EXPORT_SYMBOL ( name )
/* Symbols found in libgcc that assorted kernel modules need */
DECLARE_EXPORT ( __hexagon_memcpy_likely_aligned_min32bytes_mult8bytes ) ;
2013-12-03 20:26:46 +08:00
/* Additional functions */
DECLARE_EXPORT ( __divsi3 ) ;
DECLARE_EXPORT ( __modsi3 ) ;
DECLARE_EXPORT ( __udivsi3 ) ;
DECLARE_EXPORT ( __umodsi3 ) ;
DECLARE_EXPORT ( csum_tcpudp_magic ) ;