unistd.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. /*
  17. * This may need to be greater than __NR_last_syscall+1 in order to
  18. * account for the padding in the syscall table
  19. */
  20. #define __NR_syscalls (400)
  21. #define __ARCH_WANT_STAT64
  22. #define __ARCH_WANT_SYS_GETHOSTNAME
  23. #define __ARCH_WANT_SYS_PAUSE
  24. #define __ARCH_WANT_SYS_GETPGRP
  25. #define __ARCH_WANT_SYS_LLSEEK
  26. #define __ARCH_WANT_SYS_NICE
  27. #define __ARCH_WANT_SYS_SIGPENDING
  28. #define __ARCH_WANT_SYS_SIGPROCMASK
  29. #define __ARCH_WANT_SYS_OLD_MMAP
  30. #define __ARCH_WANT_SYS_OLD_SELECT
  31. #if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
  32. #define __ARCH_WANT_SYS_TIME
  33. #define __ARCH_WANT_SYS_IPC
  34. #define __ARCH_WANT_SYS_OLDUMOUNT
  35. #define __ARCH_WANT_SYS_ALARM
  36. #define __ARCH_WANT_SYS_UTIME
  37. #define __ARCH_WANT_SYS_OLD_GETRLIMIT
  38. #define __ARCH_WANT_OLD_READDIR
  39. #define __ARCH_WANT_SYS_SOCKETCALL
  40. #endif
  41. #define __ARCH_WANT_SYS_FORK
  42. #define __ARCH_WANT_SYS_VFORK
  43. #define __ARCH_WANT_SYS_CLONE
  44. /*
  45. * Unimplemented (or alternatively implemented) syscalls
  46. */
  47. #define __IGNORE_fadvise64_64
  48. #define __IGNORE_migrate_pages
  49. #endif /* __ASM_ARM_UNISTD_H */