unistd.h 911 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * Copyright (C) 2011 Texas Instruments Incorporated
  4. *
  5. * Based on arch/tile version.
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation, version 2.
  10. *
  11. * This program is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
  14. * NON INFRINGEMENT. See the GNU General Public License for
  15. * more details.
  16. */
  17. #define __ARCH_WANT_RENAMEAT
  18. #define __ARCH_WANT_SYS_CLONE
  19. /* Use the standard ABI for syscalls. */
  20. #include <asm-generic/unistd.h>
  21. /* C6X-specific syscalls. */
  22. #define __NR_cache_sync (__NR_arch_specific_syscall + 0)
  23. __SYSCALL(__NR_cache_sync, sys_cache_sync)