1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef __ASM_LINKAGE_H 3 #define __ASM_LINKAGE_H 4 5 #ifdef __ASSEMBLY__ 6 #include <asm/asm.h> 7 #endif 8 9 #define cond_syscall(x) asm(".weak\t" #x "\n" 10 #define SYSCALL_ALIAS(alias, name) 11 asm ( #alias " = " #name "\n\t.globl " 12 13 #endif 14
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.