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

[ Upstream commit 8535c239ac674f7ead0f2652932d35c52c4123b2 ]

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

Fixes: 82ed08dd1b0e ("nios2: Exception handling")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2 files changed