1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_LINKAGE_H
3 #define __ASM_LINKAGE_H
7 #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage))
11 #include <asm/asmmacro.h>
15 #define cond_syscall(x) asm(".weak\t" #x "#\n" #x "#\t=\tsys_ni_syscall#")
16 #define SYSCALL_ALIAS(alias, name) \
17 asm ( #alias "# = " #name "#\n\t.globl " #alias "#")