From: Arnd Bergmann Date: Tue, 20 May 2008 17:15:47 +0000 (+0200) Subject: display7seg: BKL pushdown X-Git-Tag: v2.6.27-rc1~1103^2~69 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=009228dfb641ca7e4315ab0d0d55465747331025;p=linux-2.6-omap-h63xx.git display7seg: BKL pushdown Signed-off-by: Arnd Bergmann --- diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 3279a1b6501..d8f5c0ca236 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c @@ -94,6 +94,7 @@ static int d7s_open(struct inode *inode, struct file *f) { if (D7S_MINOR != iminor(inode)) return -ENODEV; + cycle_kernel_lock(); atomic_inc(&d7s_users); return 0; }