syscall_table.c 489 B

123456789101112131415161718
  1. // SPDX-License-Identifier: GPL-2.0
  2. // Copyright (C) 2005-2017 Andes Technology Corporation
  3. #include <linux/syscalls.h>
  4. #include <linux/signal.h>
  5. #include <linux/unistd.h>
  6. #include <asm/syscalls.h>
  7. #undef __SYSCALL
  8. #define __SYSCALL(nr, call) [nr] = (call),
  9. #define sys_rt_sigreturn sys_rt_sigreturn_wrapper
  10. #define sys_fadvise64_64 sys_fadvise64_64_wrapper
  11. void *sys_call_table[__NR_syscalls] __aligned(8192) = {
  12. [0 ... __NR_syscalls - 1] = sys_ni_syscall,
  13. #include <asm/unistd.h>
  14. };