Thomas Gleixner d63c489b88 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 <tglx@linutronix.de>
LKML-Reference: <20091010153349.682213670@linutronix.de>
Cc: Jeff Dike <jdike@addtoit.com>
2009-10-14 15:35:51 +02:00
..
2008-04-28 08:58:28 -07:00
2008-05-13 08:02:22 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:08 -07:00
2008-05-13 08:02:22 -07:00
2008-07-02 15:06:26 -06:00
2008-05-13 08:02:21 -07:00
2007-10-16 09:43:08 -07:00
2009-10-14 15:35:51 +02:00
2008-05-13 08:02:22 -07:00
2007-10-20 01:23:03 +02:00
2008-05-21 16:55:57 -07:00
2009-04-01 08:59:17 -07:00
2009-04-01 08:59:17 -07:00
2008-05-13 08:02:22 -07:00
2009-10-14 15:35:51 +02:00
2009-06-25 11:22:13 -07:00
2006-09-27 08:26:15 -07:00
2009-06-25 11:22:13 -07:00
2008-02-05 09:44:30 -08:00
2006-09-27 08:26:15 -07:00
2008-02-05 09:44:26 -08:00
2009-04-01 08:59:17 -07:00
2007-10-20 01:23:03 +02:00
2009-04-01 08:59:17 -07:00
2008-05-13 08:02:22 -07:00
2008-02-05 09:44:26 -08:00
2007-10-16 09:43:05 -07:00
2007-07-16 09:05:38 -07:00
2008-05-13 08:02:22 -07:00
2009-04-01 08:59:17 -07:00