]> git.baikalelectronics.ru Git - kernel.git/commit
nios2: page fault et.al. are *not* restartable syscalls...
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Aug 2022 15:06:04 +0000 (16:06 +0100)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 15 Aug 2022 16:25:31 +0000 (11:25 -0500)
commit97bff12d5e01e5a99de127365722588266460b42
treee833d93155256430b2abf1070ee7e455ce74746c
parent3d7dcb2c5450a57f60c448f42be48fdfe456bfdf
nios2: page fault et.al. are *not* restartable syscalls...

make sure that ->orig_r2 is negative for everything except
the syscalls.

Fixes: 8a05c485086f ("nios2: Exception handling")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/nios2/include/asm/entry.h
arch/nios2/kernel/entry.S