diff options
author | Arnd Bergmann <arnd@arndb.de> | 2008-05-20 19:16:35 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-07-02 15:06:24 -0600 |
commit | f29b889edef0c3ab98732c84247c790a1583cb94 (patch) | |
tree | 5534ddef2e5f1507839e26c6bf673a278493e24e /drivers | |
parent | db26e64dc3f0d51c4db1a625c248a81f7850eee9 (diff) |
riowatchdog: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers')
-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 a2fc6b8c133..88c0fc6395e 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; } |