forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sparc: syscalls: switch to generic syscalltbl.sh
Many architectures duplicate similar shell scripts. This commit converts sparc to use scripts/syscalltbl.sh. This also unifies syscall_table_64.h and syscall_table_c32.h. Signed-off-by: Masahiro Yamada <[email protected]>
- Loading branch information
Showing
5 changed files
with
12 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
generated-y += syscall_table_32.h | ||
generated-y += syscall_table_64.h | ||
generated-y += syscall_table_c32.h | ||
generic-y += export.h | ||
generic-y += kvm_para.h | ||
generic-y += mcs_spinlock.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,10 @@ | |
* Copyright (C) 1995 Adrian M. Rodriguez ([email protected]) | ||
*/ | ||
|
||
#define __SYSCALL(nr, entry, nargs) .long entry | ||
#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) | ||
#define __SYSCALL(nr, entry) .long entry | ||
.data | ||
.align 4 | ||
.globl sys_call_table | ||
sys_call_table: | ||
#include <asm/syscall_table_32.h> /* 32-bit native syscalls */ | ||
#undef __SYSCALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,18 +10,20 @@ | |
* Copyright (C) 1995 Adrian M. Rodriguez ([email protected]) | ||
*/ | ||
|
||
#define __SYSCALL(nr, entry, nargs) .word entry | ||
#define __SYSCALL(nr, entry) .word entry | ||
.text | ||
.align 4 | ||
#ifdef CONFIG_COMPAT | ||
.globl sys_call_table32 | ||
sys_call_table32: | ||
#include <asm/syscall_table_c32.h> /* Compat syscalls */ | ||
#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, compat) | ||
#include <asm/syscall_table_32.h> /* Compat syscalls */ | ||
#undef __SYSCALL_WITH_COMPAT | ||
#endif /* CONFIG_COMPAT */ | ||
|
||
.align 4 | ||
.globl sys_call_table64, sys_call_table | ||
sys_call_table64: | ||
sys_call_table: | ||
#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) | ||
#include <asm/syscall_table_64.h> /* 64-bit native syscalls */ | ||
#undef __SYSCALL |