display7seg: BKL pushdown
Arnd Bergmann [Tue, 20 May 2008 17:15:47 +0000 (19:15 +0200)]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

drivers/sbus/char/display7seg.c

index 3279a1b..d8f5c0c 100644 (file)
@@ -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;
 }