Skip to content

Commit

Permalink
ia64: syscalls: switch to generic syscallhdr.sh
Browse files Browse the repository at this point in the history
Many architectures duplicate similar shell scripts.

This commit converts ia64 to use scripts/syscallhdr.sh.

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y committed Apr 24, 2021
1 parent a92359a commit 6e74bc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 42 deletions.
8 changes: 2 additions & 6 deletions arch/ia64/kernel/syscalls/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,15 @@ _dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \
$(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)')

syscall := $(src)/syscall.tbl
syshdr := $(srctree)/$(src)/syscallhdr.sh
syshdr := $(srctree)/scripts/syscallhdr.sh
systbl := $(srctree)/scripts/syscalltbl.sh

quiet_cmd_syshdr = SYSHDR $@
cmd_syshdr = $(CONFIG_SHELL) '$(syshdr)' '$<' '$@' \
'$(syshdr_abis_$(basetarget))' \
'$(syshdr_pfx_$(basetarget))' \
'$(syshdr_offset_$(basetarget))'
cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr --offset __NR_Linux $< $@

quiet_cmd_systbl = SYSTBL $@
cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@

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

Expand Down
36 changes: 0 additions & 36 deletions arch/ia64/kernel/syscalls/syscallhdr.sh

This file was deleted.

0 comments on commit 6e74bc4

Please sign in to comment.