PageRenderTime 23ms CodeModel.GetById 18ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/powerpc/include/asm/syscalls.h

http://github.com/mirrors/linux
C Header | 22 lines | 17 code | 4 blank | 1 comment | 0 complexity | 0c68eed665ac2757ec011dd21d8172b6 MD5 | raw file
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __ASM_POWERPC_SYSCALLS_H
 3#define __ASM_POWERPC_SYSCALLS_H
 4#ifdef __KERNEL__
 5
 6#include <linux/compiler.h>
 7#include <linux/linkage.h>
 8#include <linux/types.h>
 9
10struct rtas_args;
11
12asmlinkage long sys_mmap(unsigned long addr, size_t len,
13		unsigned long prot, unsigned long flags,
14		unsigned long fd, off_t offset);
15asmlinkage long sys_mmap2(unsigned long addr, size_t len,
16		unsigned long prot, unsigned long flags,
17		unsigned long fd, unsigned long pgoff);
18asmlinkage long ppc64_personality(unsigned long personality);
19asmlinkage long sys_rtas(struct rtas_args __user *uargs);
20
21#endif /* __KERNEL__ */
22#endif /* __ASM_POWERPC_SYSCALLS_H */