diff options
author | Arnd Bergmann <arnd@arndb.de> | 2008-05-20 21:16:35 +0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-07-03 01:06:24 +0400 |
commit | f29b889edef0c3ab98732c84247c790a1583cb94 (patch) | |
tree | 5534ddef2e5f1507839e26c6bf673a278493e24e /drivers/sbus/char | |
parent | db26e64dc3f0d51c4db1a625c248a81f7850eee9 (diff) | |
download | linux-f29b889edef0c3ab98732c84247c790a1583cb94.tar.xz |
riowatchdog: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/sbus/char')
-rw-r--r-- | drivers/sbus/char/riowatchdog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/sbus/char/riowatchdog.c b/drivers/sbus/char/riowatchdog.c index a2fc6b8c1334..88c0fc6395e1 100644 --- a/drivers/sbus/char/riowatchdog.c +++ b/drivers/sbus/char/riowatchdog.c @@ -11,6 +11,7 @@ #include <linux/errno.h> #include <linux/init.h> #include <linux/miscdevice.h> +#include <linux/smp_lock.h> #include <asm/io.h> #include <asm/ebus.h> @@ -116,6 +117,7 @@ static void riowd_starttimer(void) static int riowd_open(struct inode *inode, struct file *filp) { + cycle_kernel_lock(); nonseekable_open(inode, filp); return 0; } |