Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / powerpc / include / asm / syscalls.h
blob23be8f1e7e64bf5b71ee1489b11c22dd9f926a78
1 #ifndef __ASM_POWERPC_SYSCALLS_H
2 #define __ASM_POWERPC_SYSCALLS_H
3 #ifdef __KERNEL__
5 #include <linux/compiler.h>
6 #include <linux/linkage.h>
7 #include <linux/types.h>
9 struct rtas_args;
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);
20 #endif /* __KERNEL__ */
21 #endif /* __ASM_POWERPC_SYSCALLS_H */