]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:38:03 +0000 (11:38 +0200)
commitd29cdf865ae133810e55d15867d9ebf45fc75f37
tree7be34c2ad610c969484e1871d0b88f6217d21696
parent76be9818820320b4efdc39287f4c8263527b3bd3
nios2: page fault et.al. are *not* restartable syscalls...

commit 8535c239ac674f7ead0f2652932d35c52c4123b2 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/nios2/include/asm/entry.h
arch/nios2/kernel/entry.S