2026-01-21 18:59:54 +08:00

10 lines
294 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_SW64_LINKAGE_H
#define _ASM_SW64_LINKAGE_H
#define cond_syscall(x) asm(".weak\t" #x "\n" #x " = sys_ni_syscall")
#define SYSCALL_ALIAS(alias, name) \
asm(#alias " = " #name "\n\t.globl " #alias)
#endif