]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/sh/include/asm/syscalls.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / sh / include / asm / syscalls.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
fa43972f
PM
2#ifndef __ASM_SH_SYSCALLS_H
3#define __ASM_SH_SYSCALLS_H
4
5#ifdef __KERNEL__
6
fa43972f
PM
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);
fa43972f
PM
13
14#ifdef CONFIG_SUPERH32
a1ce3928 15# include <asm/syscalls_32.h>
fa43972f 16#else
a1ce3928 17# include <asm/syscalls_64.h>
fa43972f
PM
18#endif
19
20#endif /* __KERNEL__ */
21#endif /* __ASM_SH_SYSCALLS_H */