mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] MIPS: VPE: Remove leftover unlock_kernel()
@ 2009-10-18 13:18 John Kacur
  2009-10-18 15:29 ` John Kacur
  0 siblings, 1 reply; 2+ messages in thread
From: John Kacur @ 2009-10-18 13:18 UTC (permalink / raw)
  To: linux-kernel, Ralf Baechle
  Cc: Thomas Gleixner, Alan Cox, Frederic Weisbecker, Arnd Bergmann,
	Andrew Morton, Linus Torvalds, Ingo Molnar

Please push the following patch to Linus for 2.6.32-rc6.
(or else drop 1bbfc20d0161cd94b1b8111566be2fa41b41b608)

>From aaf663d27d2ce9641df5833163f47fdb9ba9c833 Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Sun, 18 Oct 2009 15:00:35 +0200
Subject: [PATCH] MIPS: VPE: Remove leftover unlock_kernel()

commit 1bbfc20d0161cd94b1b8111566be2fa41b41b608
was supposed to have removed the BKL, but there is a leftover and unpaired
unlock_kernel call in the function vpe_open. Remove it.

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 arch/mips/kernel/vpe.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
index 03092ab..6047752 100644
--- a/arch/mips/kernel/vpe.c
+++ b/arch/mips/kernel/vpe.c
@@ -1116,8 +1116,6 @@ static int vpe_open(struct inode *inode, struct file *filp)
 	v->shared_ptr = NULL;
 	v->__start = 0;
 
-	unlock_kernel();
-
 	return 0;
 }
 
-- 
1.6.0.6


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-18 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-18 13:18 [PATCH] MIPS: VPE: Remove leftover unlock_kernel() John Kacur
2009-10-18 15:29 ` John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®