diff options
| author | Laurent Vivier <laurent@vivier.eu> | 2020-09-30 02:30:30 +0200 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2020-10-26 11:39:23 +0100 |
| commit | 29fe5029a43f71cc6fbd2218fa5cc354d0b49d5a (patch) | |
| tree | bb0108d3cecd009e76fdabd16f35193a10c04cb4 /scripts | |
| parent | b94e2b4e34524c37b86f6acb8ad4a696969f2dd0 (diff) | |
| download | focaccia-qemu-29fe5029a43f71cc6fbd2218fa5cc354d0b49d5a.tar.gz focaccia-qemu-29fe5029a43f71cc6fbd2218fa5cc354d0b49d5a.zip | |
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')
| -rwxr-xr-x | scripts/gensyscalls.sh | 3 |
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" |