syscall_table.c 397 B

1234567891011121314
  1. // SPDX-License-Identifier: GPL-2.0
  2. // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
  3. #include <linux/syscalls.h>
  4. #include <asm/syscalls.h>
  5. #undef __SYSCALL
  6. #define __SYSCALL(nr, call)[nr] = (call),
  7. #define sys_fadvise64_64 sys_csky_fadvise64_64
  8. void * const sys_call_table[__NR_syscalls] __page_aligned_data = {
  9. [0 ... __NR_syscalls - 1] = sys_ni_syscall,
  10. #include <asm/unistd.h>
  11. };