]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:18:27 +0000 (11:18 +0200)
commitda47e5192652d119f0cce45f308853e91db04d85
treeeba3a94ad69d020ee114643dc44981c2f8d5408c
parentde93e3ef4d373dc693da3491d904e62bd9480cc8
nios2: page fault et.al. are *not* restartable syscalls...

commit 3eafa08aa2b762999614645558ffebc1f31902b5 upstream.

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