sys_call_table.c 816 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * OpenRISC sys_call_table.c
  3. *
  4. * Linux architectural port borrowing liberally from similar works of
  5. * others. All original copyrights apply as per the original source
  6. * declaration.
  7. *
  8. * Modifications for the OpenRISC architecture:
  9. * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
  10. *
  11. * This program is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU General Public License
  13. * as published by the Free Software Foundation; either version
  14. * 2 of the License, or (at your option) any later version.
  15. */
  16. #include <linux/syscalls.h>
  17. #include <linux/signal.h>
  18. #include <linux/unistd.h>
  19. #include <asm/syscalls.h>
  20. #undef __SYSCALL
  21. #define __SYSCALL(nr, call) [nr] = (call),
  22. void *sys_call_table[__NR_syscalls] = {
  23. #include <asm/unistd.h>
  24. };