[PATCH 1/2] OpenRISC: syscallno is gone, use orig_gpr11

From: Richard Weinberger
Date: Fri Mar 02 2012 - 10:41:10 EST


Fixes a build error introduced by "openrisc: sanitize use of orig_gpr11"

Signed-off-by: Richard Weinberger <richard@xxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/