syscalls.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) syscalls.h (37744feebc086908fd89760650f458ab19071750)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_SH_SYSCALLS_H
3#define __ASM_SH_SYSCALLS_H
4
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_SH_SYSCALLS_H
3#define __ASM_SH_SYSCALLS_H
4
5#ifdef __KERNEL__
6
7asmlinkage int old_mmap(unsigned long addr, unsigned long len,
8 unsigned long prot, unsigned long flags,
9 int fd, unsigned long off);
10asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
11 unsigned long prot, unsigned long flags,
12 unsigned long fd, unsigned long pgoff);
13
5asmlinkage int old_mmap(unsigned long addr, unsigned long len,
6 unsigned long prot, unsigned long flags,
7 int fd, unsigned long off);
8asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
9 unsigned long prot, unsigned long flags,
10 unsigned long fd, unsigned long pgoff);
11
14#ifdef CONFIG_SUPERH32
15# include <asm/syscalls_32.h>
16#else
17# include <asm/syscalls_64.h>
18#endif
12#include <asm/syscalls_32.h>
19
13
20#endif /* __KERNEL__ */
21#endif /* __ASM_SH_SYSCALLS_H */
14#endif /* __ASM_SH_SYSCALLS_H */