| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_LINKAGE_H |
| 2 | #define __ASM_LINKAGE_H | ||||
| 3 | |||||
| Jan Beulich | ab7efcc | 2006-03-24 03:16:17 -0800 | [diff] [blame] | 4 | #ifndef __ASSEMBLY__ |
| 5 | |||||
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage)) |
| 7 | |||||
| Jan Beulich | ab7efcc | 2006-03-24 03:16:17 -0800 | [diff] [blame] | 8 | #else |
| 9 | |||||
| 10 | #include <asm/asmmacro.h> | ||||
| 11 | |||||
| 12 | #endif | ||||
| 13 | |||||
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | #endif |