18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_POWERPC_SYSCALLS_H 38c2ecf20Sopenharmony_ci#define __ASM_POWERPC_SYSCALLS_H 48c2ecf20Sopenharmony_ci#ifdef __KERNEL__ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#include <linux/compiler.h> 78c2ecf20Sopenharmony_ci#include <linux/linkage.h> 88c2ecf20Sopenharmony_ci#include <linux/types.h> 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_cistruct rtas_args; 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciasmlinkage long sys_mmap(unsigned long addr, size_t len, 138c2ecf20Sopenharmony_ci unsigned long prot, unsigned long flags, 148c2ecf20Sopenharmony_ci unsigned long fd, off_t offset); 158c2ecf20Sopenharmony_ciasmlinkage long sys_mmap2(unsigned long addr, size_t len, 168c2ecf20Sopenharmony_ci unsigned long prot, unsigned long flags, 178c2ecf20Sopenharmony_ci unsigned long fd, unsigned long pgoff); 188c2ecf20Sopenharmony_ciasmlinkage long ppc64_personality(unsigned long personality); 198c2ecf20Sopenharmony_ciasmlinkage long sys_rtas(struct rtas_args __user *uargs); 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif /* __KERNEL__ */ 228c2ecf20Sopenharmony_ci#endif /* __ASM_POWERPC_SYSCALLS_H */ 23