unistd.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * This file contains the system call numbers.
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version
  7. * 2 of the License, or (at your option) any later version.
  8. */
  9. #ifndef _ASM_POWERPC_UNISTD_H_
  10. #define _ASM_POWERPC_UNISTD_H_
  11. #include <uapi/asm/unistd.h>
  12. #define NR_syscalls 389
  13. #define __NR__exit __NR_exit
  14. #ifndef __ASSEMBLY__
  15. #include <linux/types.h>
  16. #include <linux/compiler.h>
  17. #include <linux/linkage.h>
  18. #define __ARCH_WANT_OLD_READDIR
  19. #define __ARCH_WANT_STAT64
  20. #define __ARCH_WANT_SYS_ALARM
  21. #define __ARCH_WANT_SYS_GETHOSTNAME
  22. #define __ARCH_WANT_SYS_IPC
  23. #define __ARCH_WANT_SYS_PAUSE
  24. #define __ARCH_WANT_SYS_SIGNAL
  25. #define __ARCH_WANT_SYS_TIME
  26. #define __ARCH_WANT_SYS_UTIME
  27. #define __ARCH_WANT_SYS_WAITPID
  28. #define __ARCH_WANT_SYS_SOCKETCALL
  29. #define __ARCH_WANT_SYS_FADVISE64
  30. #define __ARCH_WANT_SYS_GETPGRP
  31. #define __ARCH_WANT_SYS_LLSEEK
  32. #define __ARCH_WANT_SYS_NICE
  33. #define __ARCH_WANT_SYS_OLD_GETRLIMIT
  34. #define __ARCH_WANT_SYS_OLD_UNAME
  35. #define __ARCH_WANT_SYS_OLDUMOUNT
  36. #define __ARCH_WANT_SYS_SIGPENDING
  37. #define __ARCH_WANT_SYS_SIGPROCMASK
  38. #ifdef CONFIG_PPC32
  39. #define __ARCH_WANT_OLD_STAT
  40. #endif
  41. #ifdef CONFIG_PPC64
  42. #define __ARCH_WANT_COMPAT_SYS_TIME
  43. #define __ARCH_WANT_SYS_NEWFSTATAT
  44. #define __ARCH_WANT_COMPAT_SYS_SENDFILE
  45. #endif
  46. #define __ARCH_WANT_SYS_FORK
  47. #define __ARCH_WANT_SYS_VFORK
  48. #define __ARCH_WANT_SYS_CLONE
  49. #endif /* __ASSEMBLY__ */
  50. #endif /* _ASM_POWERPC_UNISTD_H_ */