xref: /openbmc/linux/arch/m68k/kernel/syscalltable.S (revision b830f94f)
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
15#include <linux/linkage.h>
16
17#ifndef CONFIG_MMU
18#define sys_mmap2	sys_mmap_pgoff
19#endif
20
21#define __SYSCALL(nr, entry, nargs) .long entry
22	.section .rodata
23ALIGN
24ENTRY(sys_call_table)
25#include <asm/syscall_table.h>
26#undef __SYSCALL
27