Skip to content

Commit a92359a

Browse files
committed
ia64: syscalls: switch to generic syscalltbl.sh
Many architectures duplicate similar shell scripts. This commit converts ia64 to use scripts/syscalltbl.sh. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 14b36dc commit a92359a

File tree

3 files changed

+3
-40
lines changed

3 files changed

+3
-40
lines changed

arch/ia64/kernel/entry.S

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,10 +1420,9 @@ END(ftrace_stub)
14201420

14211421
#endif /* CONFIG_FUNCTION_TRACER */
14221422

1423-
#define __SYSCALL(nr, entry, nargs) data8 entry
1423+
#define __SYSCALL(nr, entry) data8 entry
14241424
.rodata
14251425
.align 8
14261426
.globl sys_call_table
14271427
sys_call_table:
14281428
#include <asm/syscall_table.h>
1429-
#undef __SYSCALL

arch/ia64/kernel/syscalls/Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \
77

88
syscall := $(src)/syscall.tbl
99
syshdr := $(srctree)/$(src)/syscallhdr.sh
10-
systbl := $(srctree)/$(src)/syscalltbl.sh
10+
systbl := $(srctree)/scripts/syscalltbl.sh
1111

1212
quiet_cmd_syshdr = SYSHDR $@
1313
cmd_syshdr = $(CONFIG_SHELL) '$(syshdr)' '$<' '$@' \
@@ -16,16 +16,12 @@ quiet_cmd_syshdr = SYSHDR $@
1616
'$(syshdr_offset_$(basetarget))'
1717

1818
quiet_cmd_systbl = SYSTBL $@
19-
cmd_systbl = $(CONFIG_SHELL) '$(systbl)' '$<' '$@' \
20-
'$(systbl_abis_$(basetarget))' \
21-
'$(systbl_abi_$(basetarget))' \
22-
'$(systbl_offset_$(basetarget))'
19+
cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@
2320

2421
syshdr_offset_unistd_64 := __NR_Linux
2522
$(uapi)/unistd_64.h: $(syscall) $(syshdr) FORCE
2623
$(call if_changed,syshdr)
2724

28-
systbl_offset_syscall_table := 1024
2925
$(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
3026
$(call if_changed,systbl)
3127

arch/ia64/kernel/syscalls/syscalltbl.sh

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)