From: Thomas Gleixner Date: Sat, 10 Oct 2009 15:36:34 +0000 (+0000) Subject: um: Remove BKL from mmapper X-Git-Tag: v2.6.33-rc1~357^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d63c489b881707adf9c0b89f771b30a1d78f4197;p=pandora-kernel.git um: Remove BKL from mmapper cycle_kernel_lock() was added during the big BKL pushdown. It should ensure the serializiation against driver init code. mmapper_open() cannot be called before misc_register() succeeded, but p_buf might be uninitialized. Move the initialization of p_buf before the misc_register() call and get rid of cycle_kernel_lock(). Signed-off-by: Thomas Gleixner LKML-Reference: <20091010153349.682213670@linutronix.de> Cc: Jeff Dike --- Reading git-diff-tree failed