xref: /openbmc/linux/arch/alpha/include/asm/linkage.h (revision 842ed298)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_LINKAGE_H
3 #define __ASM_LINKAGE_H
4 
5 #define cond_syscall(x)  asm(".weak\t" #x "\n" #x " = sys_ni_syscall")
6 #define SYSCALL_ALIAS(alias, name)					\
7 	asm ( #alias " = " #name "\n\t.globl " #alias)
8 
9 #endif
10