Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef __ASM_LINKAGE_H |
2 | #define __ASM_LINKAGE_H | |
3 | ||
ab7efcc9 JB |
4 | #ifdef __ASSEMBLY__ |
5 | #include <asm/asm.h> | |
6 | #endif | |
1da177e4 | 7 | |
e1b5bb6d AV |
8 | #define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall") |
9 | #define SYSCALL_ALIAS(alias, name) \ | |
10 | asm ( #alias " = " #name "\n\t.globl " #alias) | |
641e97f3 | 11 | |
1da177e4 | 12 | #endif |