]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Request newstat syscalls
authorGuenter Roeck <linux@roeck-us.net>
Wed, 5 Sep 2018 14:36:06 +0000 (07:36 -0700)
committerArnd Bergmann <arnd@arndb.de>
Wed, 5 Sep 2018 20:44:21 +0000 (22:44 +0200)
commit43f7cb4ddb5b1d787bb856bfdb78ef5c92157594
tree3207995766ab5664c60026daae5da268806a3262
parent6e0f9500334c3d41b9fdee9bd21408d5c73b5d00
RISC-V: Request newstat syscalls

Since commit dbf8403ca3d5 ("y2038: Remove newstat family from default
syscall set"), riscv images fail to boot with the following error.

/sbin/init: error while loading shared libraries: libc.so.6:
cannot stat shared object: Error 38
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

Explicitly request newstat syscalls to fix the problem.

Fixes: dbf8403ca3d5 ("y2038: Remove newstat family from default syscall set")
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/riscv/include/asm/unistd.h