Files
linux/arch/riscv/include/asm
David Abdurachmanov 27f8899d60 riscv: add asm/unistd.h UAPI header
Marcin Juszkiewicz reported issues while generating syscall table for riscv
using 4.20-rc1. The patch refactors our unistd.h files to match some other
architectures.

- Add asm/unistd.h UAPI header, which has __ARCH_WANT_NEW_STAT only for 64-bit
- Remove asm/syscalls.h UAPI header and merge to asm/unistd.h
- Adjust kernel asm/unistd.h

So now asm/unistd.h UAPI header should show all syscalls for riscv.

Before this, Makefile simply put `#include <asm-generic/unistd.h>` into
generated asm/unistd.h UAPI header thus user didn't see:

- __NR_riscv_flush_icache
- __NR_newfstatat
- __NR_fstat

which are supported by riscv kernel.

Signed-off-by: David Abdurachmanov <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Marcin Juszkiewicz <[email protected]>
Cc: Guenter Roeck <[email protected]>
Fixes: 67314ec7b0 ("RISC-V: Request newstat syscalls")
Signed-off-by: David Abdurachmanov <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
2018-11-20 05:19:20 -08:00
..
…
…
…
2018-05-19 08:46:26 +02:00
2018-10-31 12:13:47 -07:00
2018-10-22 17:38:08 -07:00
…
2018-01-07 15:14:39 -08:00
2018-10-22 17:38:08 -07:00
…
…
…
2018-05-07 07:15:41 +02:00
…
2018-01-07 15:14:39 -08:00
2018-10-31 08:54:12 -07:00
2018-11-12 17:16:16 -08:00
…
2018-10-22 17:03:37 -07:00
…
2018-10-22 17:02:23 -07:00
…
2018-11-20 05:19:20 -08:00