]> 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)
commit3eafa08aa2b762999614645558ffebc1f31902b5
treee833d93155256430b2abf1070ee7e455ce74746c
parent34a3249ab33a1690f58cd6e91a0208887337d3e0
nios2: page fault et.al. are *not* restartable syscalls...

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

Fixes: 94128c9936ba ("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