From 29fe5029a43f71cc6fbd2218fa5cc354d0b49d5a Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Wed, 30 Sep 2020 02:30:30 +0200 Subject: linux-user: update syscall_nr.h to Linux 5.9-rc7 Update gensyscalls.sh not to generate an empty line at the end of the file And then automatically update syscall_nr.h running scripts/gensyscalls.sh Signed-off-by: Laurent Vivier Reviewed-by: Alistair Francis Reviewed-by: Richard Henderson Message-Id: <20200930003033.554124-2-laurent@vivier.eu> Signed-off-by: Laurent Vivier --- scripts/gensyscalls.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/gensyscalls.sh b/scripts/gensyscalls.sh index b7b8456..bba9fb0 100755 --- a/scripts/gensyscalls.sh +++ b/scripts/gensyscalls.sh @@ -86,8 +86,7 @@ generate_syscall_nr() read_includes $arch $bits | filter_defines | rename_defines | \ evaluate_values | sort -n -k 3 echo - echo "#endif /* ${guard} */" - echo) > "$file" + echo "#endif /* ${guard} */") > "$file" } mkdir "$TMP/asm" -- cgit v1.1