syscalls.h 663 B

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