aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/process.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-10-10 15:36:34 +0000
committerThomas Gleixner <tglx@linutronix.de>2009-10-14 15:35:51 +0200
commitd63c489b881707adf9c0b89f771b30a1d78f4197 (patch)
tree0faf3ab8027a2e236b56c099fe29d638df553bb4 /arch/blackfin/kernel/process.c
parentum: Remove BKL from random (diff)
downloadlinux-dev-d63c489b881707adf9c0b89f771b30a1d78f4197.tar.xz
linux-dev-d63c489b881707adf9c0b89f771b30a1d78f4197.zip
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>
Diffstat (limited to 'arch/blackfin/kernel/process.c')
0 files changed, 0 insertions, 0 deletions