1 #ifndef __ASM_POWERPC_SYSCALLS_H 2 #define __ASM_POWERPC_SYSCALLS_H 3 #ifdef __KERNEL__ 4 5 #include <linux/compiler.h> 6 #include <linux/linkage.h> 7 #include <linux/types.h> 8 9 struct rtas_args; 10 11 asmlinkage unsigned long sys_mmap(unsigned long addr, size_t len, 12 unsigned long prot, unsigned long flags, 13 unsigned long fd, off_t offset); 14 asmlinkage unsigned long sys_mmap2(unsigned long addr, size_t len, 15 unsigned long prot, unsigned long flags, 16 unsigned long fd, unsigned long pgoff); 17 asmlinkage long ppc64_personality(unsigned long personality); 18 asmlinkage int ppc_rtas(struct rtas_args __user *uargs); 19 20 #endif /* __KERNEL__ */ 21 #endif /* __ASM_POWERPC_SYSCALLS_H */ 22