^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __ASM_POWERPC_SYSCALLS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __ASM_POWERPC_SYSCALLS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #ifdef __KERNEL__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #include <linux/compiler.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #include <linux/linkage.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #include <linux/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) struct rtas_args;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) asmlinkage long sys_mmap(unsigned long addr, size_t len,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) unsigned long prot, unsigned long flags,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) unsigned long fd, off_t offset);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) asmlinkage long sys_mmap2(unsigned long addr, size_t len,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) unsigned long prot, unsigned long flags,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) unsigned long fd, unsigned long pgoff);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) asmlinkage long ppc64_personality(unsigned long personality);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) asmlinkage long sys_rtas(struct rtas_args __user *uargs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif /* __KERNEL__ */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #endif /* __ASM_POWERPC_SYSCALLS_H */