From: Thomas Gleixner Date: Sat, 10 Oct 2009 14:07:03 +0000 (+0200) Subject: mips: Remove BKL from tb0219 X-Git-Tag: v2.6.33-rc1~358^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2a7be0be1099c2554f4705d2c1c5081f8f96efc;p=pandora-kernel.git mips: Remove BKL from tb0219 cycle_kernel_lock() was added during the big BKL pushdown. It should ensure the serializiation against driver init code. tb0219_base is initialized before the character device is registered, but the spinlock is not initialized. Initialize the spinlock statically and remove cycle_kernel_lock(). Signed-off-by: Thomas Gleixner LKML-Reference: <20091010153350.222654356@linutronix.de> Cc: Yoichi Yuasa Cc: Ralf Baechle --- Reading git-diff-tree failed