sys_call_table.c 586 B

123456789101112131415161718192021222324
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * OpenRISC sys_call_table.c
  4. *
  5. * Linux architectural port borrowing liberally from similar works of
  6. * others. All original copyrights apply as per the original source
  7. * declaration.
  8. *
  9. * Modifications for the OpenRISC architecture:
  10. * Copyright (C) 2010-2011 Jonas Bonn <[email protected]>
  11. */
  12. #include <linux/syscalls.h>
  13. #include <linux/signal.h>
  14. #include <linux/unistd.h>
  15. #include <asm/syscalls.h>
  16. #undef __SYSCALL
  17. #define __SYSCALL(nr, call) [nr] = (call),
  18. void *sys_call_table[__NR_syscalls] = {
  19. #include <asm/unistd.h>
  20. };