]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/syscalls: Convert filechk to if_changed
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 11 Nov 2024 13:45:54 +0000 (22:45 +0900)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 12 Nov 2024 13:01:30 +0000 (14:01 +0100)
commit182c02a6cd5f7947c403ba2321e262fb0aeaabfc
treed80cd9ba73f7e058108147e248d49ed83c3953df
parente17aca2005087ff501dd9e8f187627f91751c7d3
s390/syscalls: Convert filechk to if_changed

The filechk macro always executes the syscalltbl script (and discards
the output if there are no changes).

Using if_changed is more efficient because it avoids running the script
when the target is up-to-date and the command remains unchanged.

All other architectures use if_changed for generating syscall headers.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20241111134603.2063226-3-masahiroy@kernel.org
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/syscalls/Makefile