Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_GENERIC_SYSCALLS_H
0003 #define __ASM_GENERIC_SYSCALLS_H
0004 
0005 #include <linux/compiler.h>
0006 #include <linux/linkage.h>
0007 
0008 /*
0009  * Calling conventions for these system calls can differ, so
0010  * it's possible to override them.
0011  */
0012 
0013 #ifndef sys_mmap2
0014 asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
0015             unsigned long prot, unsigned long flags,
0016             unsigned long fd, unsigned long pgoff);
0017 #endif
0018 
0019 #ifndef sys_mmap
0020 asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
0021             unsigned long prot, unsigned long flags,
0022             unsigned long fd, off_t pgoff);
0023 #endif
0024 
0025 #ifndef sys_rt_sigreturn
0026 asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
0027 #endif
0028 
0029 #endif /* __ASM_GENERIC_SYSCALLS_H */