unistd.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*
  2. * arch/arm/include/asm/unistd.h
  3. *
  4. * Copyright (C) 2001-2005 Russell King
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. *
  10. * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
  11. * no matter what the change is. Thanks!
  12. */
  13. #ifndef __ASM_ARM_UNISTD_H
  14. #define __ASM_ARM_UNISTD_H
  15. #include <uapi/asm/unistd.h>
  16. #include <asm/unistd-nr.h>
  17. #define __ARCH_WANT_STAT64
  18. #define __ARCH_WANT_SYS_GETHOSTNAME
  19. #define __ARCH_WANT_SYS_PAUSE
  20. #define __ARCH_WANT_SYS_GETPGRP
  21. #define __ARCH_WANT_SYS_LLSEEK
  22. #define __ARCH_WANT_SYS_NICE
  23. #define __ARCH_WANT_SYS_SIGPENDING
  24. #define __ARCH_WANT_SYS_SIGPROCMASK
  25. #define __ARCH_WANT_SYS_OLD_MMAP
  26. #define __ARCH_WANT_SYS_OLD_SELECT
  27. #if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
  28. #define __ARCH_WANT_SYS_TIME
  29. #define __ARCH_WANT_SYS_IPC
  30. #define __ARCH_WANT_SYS_OLDUMOUNT
  31. #define __ARCH_WANT_SYS_ALARM
  32. #define __ARCH_WANT_SYS_UTIME
  33. #define __ARCH_WANT_SYS_OLD_GETRLIMIT
  34. #define __ARCH_WANT_OLD_READDIR
  35. #define __ARCH_WANT_SYS_SOCKETCALL
  36. #endif
  37. #define __ARCH_WANT_SYS_FORK
  38. #define __ARCH_WANT_SYS_VFORK
  39. #define __ARCH_WANT_SYS_CLONE
  40. /*
  41. * Unimplemented (or alternatively implemented) syscalls
  42. */
  43. #define __IGNORE_fadvise64_64
  44. #define __IGNORE_migrate_pages
  45. #ifdef __ARM_EABI__
  46. /*
  47. * The following syscalls are obsolete and no longer available for EABI:
  48. * __NR_time
  49. * __NR_umount
  50. * __NR_stime
  51. * __NR_alarm
  52. * __NR_utime
  53. * __NR_getrlimit
  54. * __NR_select
  55. * __NR_readdir
  56. * __NR_mmap
  57. * __NR_socketcall
  58. * __NR_syscall
  59. * __NR_ipc
  60. */
  61. #define __IGNORE_getrlimit
  62. #endif
  63. #endif /* __ASM_ARM_UNISTD_H */