]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/powerpc/include/asm/syscalls.h
Merge tag 'drm-misc-fixes-2018-06-21' of git://anongit.freedesktop.org/drm/drm-misc...
[mirror_ubuntu-jammy-kernel.git] / arch / powerpc / include / asm / syscalls.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
a7f31841
AB
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>
a7f31841 9
a7f31841 10struct rtas_args;
a7f31841 11
9c355917 12asmlinkage long sys_mmap(unsigned long addr, size_t len,
a7f31841
AB
13 unsigned long prot, unsigned long flags,
14 unsigned long fd, off_t offset);
9c355917 15asmlinkage long sys_mmap2(unsigned long addr, size_t len,
a7f31841
AB
16 unsigned long prot, unsigned long flags,
17 unsigned long fd, unsigned long pgoff);
a7f31841 18asmlinkage long ppc64_personality(unsigned long personality);
4c392e65 19asmlinkage long sys_rtas(struct rtas_args __user *uargs);
a7f31841 20
a7f31841
AB
21#endif /* __KERNEL__ */
22#endif /* __ASM_POWERPC_SYSCALLS_H */