summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/irixsig.c
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-11-14 17:00:06 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 18:45:42 -0800
commitc0f2a9d75aed1a4be40c3975b94fd39066bd11bb (patch)
tree9d73066a4d79d07dd8da0d3eece2924b7308292b /arch/mips/kernel/irixsig.c
parent5c6ff79d0908df0d281c05b5b693eaba55b06e0f (diff)
downloadop-kernel-dev-c0f2a9d75aed1a4be40c3975b94fd39066bd11bb.zip
op-kernel-dev-c0f2a9d75aed1a4be40c3975b94fd39066bd11bb.tar.gz
mips: undo locking on error path returns
[akpm@linux-foundation.org: coding-style cleanups] Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/kernel/irixsig.c')
-rw-r--r--arch/mips/kernel/irixsig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c
index 33506ff..5b10ac1 100644
--- a/arch/mips/kernel/irixsig.c
+++ b/arch/mips/kernel/irixsig.c
@@ -430,6 +430,7 @@ asmlinkage int irix_sigprocmask(int how, irix_sigset_t __user *new,
break;
default:
+ spin_unlock_irq(&current->sighand->siglock);
return -EINVAL;
}
recalc_sigpending();
OpenPOWER on IntegriCloud