blob: 58f466ff00d363701155427cb7968515ef60c935 [file] [log] [blame]
Arnd Bergmannaafe4db2009-05-13 22:56:33 +00001#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 Bergmannaafe4db2009-05-13 22:56:33 +000011
Arnd Bergmannaafe4db2009-05-13 22:56:33 +000012#ifndef sys_mmap2
13asmlinkage 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
19asmlinkage 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
24#ifndef sys_sigaltstack
25asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *,
26 struct pt_regs *);
27#endif
28
29#ifndef sys_rt_sigreturn
30asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
31#endif
32
33#ifndef sys_rt_sigsuspend
34asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
35#endif
36
37#ifndef sys_rt_sigaction
38asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act,
39 struct sigaction __user *oact, size_t sigsetsize);
40#endif
41
42#endif /* __ASM_GENERIC_SYSCALLS_H */