diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/irixsig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c index 6980deb6dce..28b2a8f0091 100644 --- a/arch/mips/kernel/irixsig.c +++ b/arch/mips/kernel/irixsig.c | |||
@@ -725,7 +725,7 @@ asmlinkage int irix_getcontext(struct pt_regs *regs) | |||
725 | current->comm, current->pid, ctx); | 725 | current->comm, current->pid, ctx); |
726 | #endif | 726 | #endif |
727 | 727 | ||
728 | if (!access_ok(VERIFY_WRITE, ctx, sizeof(*ctx))); | 728 | if (!access_ok(VERIFY_WRITE, ctx, sizeof(*ctx))) |
729 | return -EFAULT; | 729 | return -EFAULT; |
730 | 730 | ||
731 | error = __put_user(current->thread.irix_oldctx, &ctx->link); | 731 | error = __put_user(current->thread.irix_oldctx, &ctx->link); |