From: Thomas Gleixner Date: Fri, 9 Oct 2009 17:02:20 +0000 (+0200) Subject: x86: Remove BKL from apm_32 X-Git-Tag: v2.6.33-rc1~395^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d86412eab6a18cf57697474cc4f8fbfcd6936f;p=pandora-kernel.git x86: Remove BKL from apm_32 The lock/unlock kernel pair in do_open() got there with the BKL push down and protects nothing. Remove it. Replace the lock/unlock kernel in the ioctl code with a mutex to protect standbys_pending and suspends_pending. Signed-off-by: Thomas Gleixner LKML-Reference: <20091010153349.365236337@linutronix.de> --- Reading git-diff-tree failed