syscalls.h 564 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_SH_SYSCALLS_H
  3. #define __ASM_SH_SYSCALLS_H
  4. #ifdef __KERNEL__
  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. #ifdef CONFIG_SUPERH32
  12. # include <asm/syscalls_32.h>
  13. #else
  14. # include <asm/syscalls_64.h>
  15. #endif
  16. #endif /* __KERNEL__ */
  17. #endif /* __ASM_SH_SYSCALLS_H */