mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
005e13a96c
System call table generation script must be run to gener- ate unistd_32.h and syscall_table.h files. This patch will have changes which will invokes the script. This patch will generate unistd_32.h and syscall_table.h files by the syscall table generation script invoked by m68k/Makefile and the generated files against the removed files must be identical. The generated uapi header file will be included in uapi/- asm/unistd.h and generated system call table header file will be included by kernel/syscalltable.S file. Signed-off-by: Firoz Khan <firoz.khan@linaro.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
27 lines
669 B
ArmAsm
27 lines
669 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, nargs) .long entry
|
|
.section .rodata
|
|
ALIGN
|
|
ENTRY(sys_call_table)
|
|
#include <asm/syscall_table.h>
|
|
#undef __SYSCALL
|