Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / asm-generic / syscalls.h
blob933ca6581abace6a4f61bc9f7f720c4f3d526c8e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_GENERIC_SYSCALLS_H
3 #define __ASM_GENERIC_SYSCALLS_H
5 #include <linux/compiler.h>
6 #include <linux/linkage.h>
8 /*
9 * Calling conventions for these system calls can differ, so
10 * it's possible to override them.
13 #ifndef sys_mmap2
14 asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
15 unsigned long prot, unsigned long flags,
16 unsigned long fd, unsigned long pgoff);
17 #endif
19 #ifndef sys_mmap
20 asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
21 unsigned long prot, unsigned long flags,
22 unsigned long fd, off_t pgoff);
23 #endif
25 #ifndef sys_rt_sigreturn
26 asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
27 #endif
29 #endif /* __ASM_GENERIC_SYSCALLS_H */