syscalls.h 525 B

123456789101112131415161718192021
  1. #ifndef __ASM_SH_SYSCALLS_H
  2. #define __ASM_SH_SYSCALLS_H
  3. #ifdef __KERNEL__
  4. asmlinkage int old_mmap(unsigned long addr, unsigned long len,
  5. unsigned long prot, unsigned long flags,
  6. int fd, unsigned long off);
  7. asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
  8. unsigned long prot, unsigned long flags,
  9. unsigned long fd, unsigned long pgoff);
  10. #ifdef CONFIG_SUPERH32
  11. # include <asm/syscalls_32.h>
  12. #else
  13. # include <asm/syscalls_64.h>
  14. #endif
  15. #endif /* __KERNEL__ */
  16. #endif /* __ASM_SH_SYSCALLS_H */