treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / hexagon / kernel / hexagon_ksyms.c
blob6fb1aaab1c298b01ac682f2173c250162f22a1f3
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * Export of symbols defined in assembly files and/or libgcc.
5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
6 */
8 #include <linux/dma-mapping.h>
9 #include <asm/hexagon_vm.h>
10 #include <asm/io.h>
11 #include <linux/uaccess.h>
13 /* Additional functions */
14 EXPORT_SYMBOL(__clear_user_hexagon);
15 EXPORT_SYMBOL(raw_copy_from_user);
16 EXPORT_SYMBOL(raw_copy_to_user);
17 EXPORT_SYMBOL(iounmap);
18 EXPORT_SYMBOL(__strnlen_user);
19 EXPORT_SYMBOL(__vmgetie);
20 EXPORT_SYMBOL(__vmsetie);
21 EXPORT_SYMBOL(__vmyield);
22 EXPORT_SYMBOL(empty_zero_page);
23 EXPORT_SYMBOL(ioremap);
24 EXPORT_SYMBOL(memcpy);
25 EXPORT_SYMBOL(memset);
27 /* Additional variables */
28 EXPORT_SYMBOL(__phys_offset);
29 EXPORT_SYMBOL(_dflt_cache_att);
31 #define DECLARE_EXPORT(name) \
32 extern void name(void); EXPORT_SYMBOL(name)
34 /* Symbols found in libgcc that assorted kernel modules need */
35 DECLARE_EXPORT(__hexagon_memcpy_likely_aligned_min32bytes_mult8bytes);
37 /* Additional functions */
38 DECLARE_EXPORT(__divsi3);
39 DECLARE_EXPORT(__modsi3);
40 DECLARE_EXPORT(__udivsi3);
41 DECLARE_EXPORT(__umodsi3);
42 DECLARE_EXPORT(csum_tcpudp_magic);