syscalls.h 705 B

12345678910111213141516171819202122232425
  1. #ifndef __ASM_SH_SYSCALLS_H
  2. #define __ASM_SH_SYSCALLS_H
  3. #ifdef __KERNEL__
  4. struct old_utsname;
  5. asmlinkage int old_mmap(unsigned long addr, unsigned long len,
  6. unsigned long prot, unsigned long flags,
  7. int fd, unsigned long off);
  8. asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
  9. unsigned long prot, unsigned long flags,
  10. unsigned long fd, unsigned long pgoff);
  11. asmlinkage int sys_ipc(uint call, int first, int second,
  12. int third, void __user *ptr, long fifth);
  13. asmlinkage int sys_uname(struct old_utsname __user *name);
  14. #ifdef CONFIG_SUPERH32
  15. # include "syscalls_32.h"
  16. #else
  17. # include "syscalls_64.h"
  18. #endif
  19. #endif /* __KERNEL__ */
  20. #endif /* __ASM_SH_SYSCALLS_H */