mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
Many architectures duplicate similar shell scripts. This commit converts m68k to use scripts/syscalltbl.sh. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20210301142112.342909-1-masahiroy@kernel.org Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
25 lines
645 B
ArmAsm
25 lines
645 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com)
|
|
*
|
|
* Based on older entry.S files, the following copyrights apply:
|
|
*
|
|
* Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
|
|
* Kenneth Albanowski <kjahds@kjahds.com>,
|
|
* Copyright (C) 2000 Lineo Inc. (www.lineo.com)
|
|
* Copyright (C) 1991, 1992 Linus Torvalds
|
|
*
|
|
* Linux/m68k support by Hamish Macdonald
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
#ifndef CONFIG_MMU
|
|
#define sys_mmap2 sys_mmap_pgoff
|
|
#endif
|
|
|
|
#define __SYSCALL(nr, entry) .long entry
|
|
.section .rodata
|
|
ALIGN
|
|
ENTRY(sys_call_table)
|
|
#include <asm/syscall_table.h>
|