Linux Audio

Check our new training course

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