unistd.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * IA-64 Linux syscall numbers and inline-functions.
  3. *
  4. * Copyright (C) 1998-2005 Hewlett-Packard Co
  5. * David Mosberger-Tang <davidm@hpl.hp.com>
  6. */
  7. #ifndef _ASM_IA64_UNISTD_H
  8. #define _ASM_IA64_UNISTD_H
  9. #include <uapi/asm/unistd.h>
  10. #define NR_syscalls 323 /* length of syscall table */
  11. /*
  12. * The following defines stop scripts/checksyscalls.sh from complaining about
  13. * unimplemented system calls. Glibc provides for each of these by using
  14. * more modern equivalent system calls.
  15. */
  16. #define __IGNORE_fork /* clone() */
  17. #define __IGNORE_time /* gettimeofday() */
  18. #define __IGNORE_alarm /* setitimer(ITIMER_REAL, ... */
  19. #define __IGNORE_pause /* rt_sigprocmask(), rt_sigsuspend() */
  20. #define __IGNORE_utime /* utimes() */
  21. #define __IGNORE_getpgrp /* getpgid() */
  22. #define __IGNORE_vfork /* clone() */
  23. #define __IGNORE_umount2 /* umount() */
  24. #if !defined(__ASSEMBLY__) && !defined(ASSEMBLER)
  25. #include <linux/types.h>
  26. #include <linux/linkage.h>
  27. #include <linux/compiler.h>
  28. extern long __ia64_syscall (long a0, long a1, long a2, long a3, long a4, long nr);
  29. asmlinkage unsigned long sys_mmap(
  30. unsigned long addr, unsigned long len,
  31. int prot, int flags,
  32. int fd, long off);
  33. asmlinkage unsigned long sys_mmap2(
  34. unsigned long addr, unsigned long len,
  35. int prot, int flags,
  36. int fd, long pgoff);
  37. struct pt_regs;
  38. asmlinkage long sys_ia64_pipe(void);
  39. #endif /* !__ASSEMBLY__ */
  40. #endif /* _ASM_IA64_UNISTD_H */