linux-user, openrisc: sync syscall numbers with kernel v5.5
commita64ddbb03acf1ee916c826ae89e0e1aa6500d5ae
authorLaurent Vivier <laurent@vivier.eu>
Mon, 16 Mar 2020 08:56:20 +0000 (16 09:56 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 20 Mar 2020 15:02:00 +0000 (20 16:02 +0100)
tree3bb0aaad0f65fcca6659b47536a441fa6a5d93f5
parenta830fa26388409fe644218fbe6f172a1b41855d9
linux-user, openrisc: sync syscall numbers with kernel v5.5

Use helper script scripts/gensyscalls.sh to generate the file.

Add TARGET_NR_or1k_atomic
Remove useless comments and blank lines.
Define diretly the __NR_XXX64 syscalls rather than using the
intermediate __NR3264 definition.

Remove wrong cut'n'paste (like "#ifdef __ARCH_WANT_SYNC_FILE_RANGE2")

Add new syscalls from 286 (preadv) to 434 (pidfd_open).

Remove obsolete syscalls 1204 (open) to 1079 (fork).

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: <20200316085620.309769-5-laurent@vivier.eu>
linux-user/openrisc/syscall_nr.h