Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | #ifndef __ASM_LINKAGE_H |
2 | #define __ASM_LINKAGE_H | ||||
3 | |||||
4 | #define cond_syscall(x) asm(".weak\t" #x "\n" #x " = sys_ni_syscall") | ||||
5 | #define SYSCALL_ALIAS(alias, name) \ | ||||
6 | asm ( #alias " = " #name "\n\t.globl " #alias) | ||||
7 | |||||
8 | #endif |