syscalltable.S 669 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com)
  4. *
  5. * Based on older entry.S files, the following copyrights apply:
  6. *
  7. * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
  8. * Kenneth Albanowski <kjahds@kjahds.com>,
  9. * Copyright (C) 2000 Lineo Inc. (www.lineo.com)
  10. * Copyright (C) 1991, 1992 Linus Torvalds
  11. *
  12. * Linux/m68k support by Hamish Macdonald
  13. */
  14. #include <linux/linkage.h>
  15. #ifndef CONFIG_MMU
  16. #define sys_mmap2 sys_mmap_pgoff
  17. #endif
  18. #define __SYSCALL(nr, entry, nargs) .long entry
  19. .section .rodata
  20. ALIGN
  21. ENTRY(sys_call_table)
  22. #include <asm/syscall_table.h>
  23. #undef __SYSCALL