Fixes a build error introduced by "openrisc: sanitize use of orig_gpr11"
Signed-off-by: Richard Weinberger <[email protected]> --- arch/openrisc/kernel/signal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/openrisc/kernel/signal.c b/arch/openrisc/kernel/signal.c index cf35ea0..e970743 100644 --- a/arch/openrisc/kernel/signal.c +++ b/arch/openrisc/kernel/signal.c @@ -305,7 +305,7 @@ void do_signal(struct pt_regs *regs) * below mean that the syscall executed to completion and no * restart is necessary. */ - if (regs->syscallno) { + if (regs->orig_gpr11) { int restart = 0; switch (regs->gpr[11]) { -- 1.7.7.3 _______________________________________________ Linux mailing list [email protected] http://lists.openrisc.net/listinfo/linux
