nios2: page fault et.al. are *not* restartable syscalls...

commit 8535c239ac upstream.

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

Fixes: 82ed08dd1b ("nios2: Exception handling")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Al Viro 2022-08-08 16:06:04 +01:00 • committed by Greg Kroah-Hartman
commit 69f5278fba
2 changed files with 3 additions and 4 deletions