Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6d9dd2c authored by Al Viro's avatar Al Viro Committed by Greg Kroah-Hartman
Browse files

nios2: restarts apply only to the first sigframe we build...



commit 411a76b7219555c55867466c82d70ce928d6c9e1 upstream.

Fixes: b53e906d ("nios2: Signal handling support")
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 01e783b4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -261,6 +261,7 @@ static int do_signal(struct pt_regs *regs)
			regs->ea = restart_addr;
			break;
		}
		regs->orig_r2 = -1;
	}

	if (get_signal(&ksig)) {