systbls_64.S 808 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* systbls.S: System call entry point tables for OS compatibility.
  3. * The native Linux system call table lives here also.
  4. *
  5. * Copyright (C) 1995, 1996, 2007 David S. Miller (davem@davemloft.net)
  6. * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
  7. *
  8. * Based upon preliminary work which is:
  9. *
  10. * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu)
  11. */
  12. #define __SYSCALL(nr, entry, nargs) .word entry
  13. .text
  14. .align 4
  15. #ifdef CONFIG_COMPAT
  16. .globl sys_call_table32
  17. sys_call_table32:
  18. #include <asm/syscall_table_c32.h> /* Compat syscalls */
  19. #endif /* CONFIG_COMPAT */
  20. .align 4
  21. .globl sys_call_table64, sys_call_table
  22. sys_call_table64:
  23. sys_call_table:
  24. #include <asm/syscall_table_64.h> /* 64-bit native syscalls */
  25. #undef __SYSCALL