]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef __ASM_LINKAGE_H |
2 | #define __ASM_LINKAGE_H | |
3 | ||
ab7efcc9 JB |
4 | #ifndef __ASSEMBLY__ |
5 | ||
1da177e4 LT |
6 | #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage)) |
7 | ||
ab7efcc9 JB |
8 | #else |
9 | ||
10 | #include <asm/asmmacro.h> | |
11 | ||
12 | #endif | |
13 | ||
e1b5bb6d AV |
14 | #define cond_syscall(x) asm(".weak\t" #x "#\n" #x "#\t=\tsys_ni_syscall#") |
15 | #define SYSCALL_ALIAS(alias, name) \ | |
16 | asm ( #alias "# = " #name "#\n\t.globl " #alias "#") | |
17 | ||
1da177e4 | 18 | #endif |