Arnd Bergmann | aafe4db | 2009-05-13 22:56:33 +0000 | [diff] [blame] | 1 | #ifndef __ASM_GENERIC_SYSCALLS_H |
| 2 | #define __ASM_GENERIC_SYSCALLS_H |
| 3 | |
| 4 | #include <linux/compiler.h> |
| 5 | #include <linux/linkage.h> |
| 6 | |
| 7 | /* |
| 8 | * Calling conventions for these system calls can differ, so |
| 9 | * it's possible to override them. |
| 10 | */ |
Arnd Bergmann | aafe4db | 2009-05-13 22:56:33 +0000 | [diff] [blame] | 11 | |
Arnd Bergmann | aafe4db | 2009-05-13 22:56:33 +0000 | [diff] [blame] | 12 | #ifndef sys_mmap2 |
| 13 | asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, |
| 14 | unsigned long prot, unsigned long flags, |
| 15 | unsigned long fd, unsigned long pgoff); |
| 16 | #endif |
| 17 | |
| 18 | #ifndef sys_mmap |
| 19 | asmlinkage long sys_mmap(unsigned long addr, unsigned long len, |
| 20 | unsigned long prot, unsigned long flags, |
| 21 | unsigned long fd, off_t pgoff); |
| 22 | #endif |
| 23 | |
Arnd Bergmann | aafe4db | 2009-05-13 22:56:33 +0000 | [diff] [blame] | 24 | #ifndef sys_rt_sigreturn |
| 25 | asmlinkage long sys_rt_sigreturn(struct pt_regs *regs); |
| 26 | #endif |
| 27 | |
Arnd Bergmann | aafe4db | 2009-05-13 22:56:33 +0000 | [diff] [blame] | 28 | #endif /* __ASM_GENERIC_SYSCALLS_H */ |