aboutsummaryrefslogtreecommitdiff
path: root/scripts/gensyscalls.sh
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2020-09-30 02:30:30 +0200
committerLaurent Vivier <laurent@vivier.eu>2020-10-26 11:39:23 +0100
commit29fe5029a43f71cc6fbd2218fa5cc354d0b49d5a (patch)
treebb0108d3cecd009e76fdabd16f35193a10c04cb4 /scripts/gensyscalls.sh
parentb94e2b4e34524c37b86f6acb8ad4a696969f2dd0 (diff)
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 <laurent@vivier.eu> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200930003033.554124-2-laurent@vivier.eu> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts/gensyscalls.sh')
-rwxr-xr-xscripts/gensyscalls.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/gensyscalls.sh b/scripts/gensyscalls.sh
index b7b8456f63..bba9fb052c 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"