Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_PROTOTYPES_H
0003 #define __ASM_PROTOTYPES_H
0004 /*
0005  * CONFIG_MODVERSIONS requires a C declaration to generate the appropriate CRC
0006  * for each symbol. Since commit:
0007  *
0008  *   4efca4ed05cbdfd1 ("kbuild: modversions for EXPORT_SYMBOL() for asm")
0009  *
0010  * ... kbuild will automatically pick these up from <asm/asm-prototypes.h> and
0011  * feed this to genksyms when building assembly files.
0012  */
0013 #include <linux/arm-smccc.h>
0014 
0015 #include <asm/ftrace.h>
0016 #include <asm/page.h>
0017 #include <asm/string.h>
0018 #include <asm/uaccess.h>
0019 
0020 #include <asm-generic/asm-prototypes.h>
0021 
0022 long long __ashlti3(long long a, int b);
0023 long long __ashrti3(long long a, int b);
0024 long long __lshrti3(long long a, int b);
0025 
0026 /*
0027  * This function uses a custom calling convention and cannot be called from C so
0028  * this prototype is not entirely accurate.
0029  */
0030 void __hwasan_tag_mismatch(unsigned long addr, unsigned long access_info);
0031 
0032 #endif /* __ASM_PROTOTYPES_H */