unistd.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* MN10300 System call number list
  2. *
  3. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  4. * Written by David Howells (dhowells@redhat.com)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public Licence
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the Licence, or (at your option) any later version.
  10. */
  11. #ifndef _ASM_UNISTD_H
  12. #define _ASM_UNISTD_H
  13. #include <uapi/asm/unistd.h>
  14. #define NR_syscalls 340
  15. /*
  16. * specify the deprecated syscalls we want to support on this arch
  17. */
  18. #define __ARCH_WANT_OLD_READDIR
  19. #define __ARCH_WANT_OLD_STAT
  20. #define __ARCH_WANT_STAT64
  21. #define __ARCH_WANT_SYS_ALARM
  22. #define __ARCH_WANT_SYS_GETHOSTNAME
  23. #define __ARCH_WANT_SYS_IPC
  24. #define __ARCH_WANT_SYS_PAUSE
  25. #define __ARCH_WANT_SYS_SIGNAL
  26. #define __ARCH_WANT_SYS_TIME
  27. #define __ARCH_WANT_SYS_UTIME
  28. #define __ARCH_WANT_SYS_WAITPID
  29. #define __ARCH_WANT_SYS_SOCKETCALL
  30. #define __ARCH_WANT_SYS_FADVISE64
  31. #define __ARCH_WANT_SYS_GETPGRP
  32. #define __ARCH_WANT_SYS_LLSEEK
  33. #define __ARCH_WANT_SYS_NICE
  34. #define __ARCH_WANT_SYS_OLD_GETRLIMIT
  35. #define __ARCH_WANT_SYS_OLD_SELECT
  36. #define __ARCH_WANT_SYS_OLDUMOUNT
  37. #define __ARCH_WANT_SYS_SIGPENDING
  38. #define __ARCH_WANT_SYS_SIGPROCMASK
  39. #define __ARCH_WANT_SYS_FORK
  40. #define __ARCH_WANT_SYS_VFORK
  41. #define __ARCH_WANT_SYS_CLONE
  42. #endif /* _ASM_UNISTD_H */