Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_LINKAGE_H
0003 #define __ASM_LINKAGE_H
0004 
0005 #ifdef __ASSEMBLY__
0006 #include <asm/asm.h>
0007 #endif
0008 
0009 #define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall")
0010 #define SYSCALL_ALIAS(alias, name)                  \
0011     asm ( #alias " = " #name "\n\t.globl " #alias)
0012 
0013 #endif