unistd.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 382
  13. #define __NR__exit __NR_exit
  14. #define __IGNORE_pkey_mprotect
  15. #define __IGNORE_pkey_alloc
  16. #define __IGNORE_pkey_free
  17. #ifndef __ASSEMBLY__
  18. #include <linux/types.h>
  19. #include <linux/compiler.h>
  20. #include <linux/linkage.h>
  21. #define __ARCH_WANT_OLD_READDIR
  22. #define __ARCH_WANT_STAT64
  23. #define __ARCH_WANT_SYS_ALARM
  24. #define __ARCH_WANT_SYS_GETHOSTNAME
  25. #define __ARCH_WANT_SYS_IPC
  26. #define __ARCH_WANT_SYS_PAUSE
  27. #define __ARCH_WANT_SYS_SIGNAL
  28. #define __ARCH_WANT_SYS_TIME
  29. #define __ARCH_WANT_SYS_UTIME
  30. #define __ARCH_WANT_SYS_WAITPID
  31. #define __ARCH_WANT_SYS_SOCKETCALL
  32. #define __ARCH_WANT_SYS_FADVISE64
  33. #define __ARCH_WANT_SYS_GETPGRP
  34. #define __ARCH_WANT_SYS_LLSEEK
  35. #define __ARCH_WANT_SYS_NICE
  36. #define __ARCH_WANT_SYS_OLD_GETRLIMIT
  37. #define __ARCH_WANT_SYS_OLD_UNAME
  38. #define __ARCH_WANT_SYS_OLDUMOUNT
  39. #define __ARCH_WANT_SYS_SIGPENDING
  40. #define __ARCH_WANT_SYS_SIGPROCMASK
  41. #ifdef CONFIG_PPC32
  42. #define __ARCH_WANT_OLD_STAT
  43. #endif
  44. #ifdef CONFIG_PPC64
  45. #define __ARCH_WANT_COMPAT_SYS_TIME
  46. #define __ARCH_WANT_SYS_NEWFSTATAT
  47. #define __ARCH_WANT_COMPAT_SYS_SENDFILE
  48. #endif
  49. #define __ARCH_WANT_SYS_FORK
  50. #define __ARCH_WANT_SYS_VFORK
  51. #define __ARCH_WANT_SYS_CLONE
  52. #endif /* __ASSEMBLY__ */
  53. #endif /* _ASM_POWERPC_UNISTD_H_ */