summaryrefslogtreecommitdiffstats
path: root/drivers/sbus
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2008-05-20 19:16:35 +0200
committerJonathan Corbet <corbet@lwn.net>2008-07-02 15:06:24 -0600
commitf29b889edef0c3ab98732c84247c790a1583cb94 (patch)
tree5534ddef2e5f1507839e26c6bf673a278493e24e /drivers/sbus
parentdb26e64dc3f0d51c4db1a625c248a81f7850eee9 (diff)
downloadlinux-f29b889edef0c3ab98732c84247c790a1583cb94.tar.bz2
riowatchdog: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/sbus')
-rw-r--r--drivers/sbus/char/riowatchdog.c2
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;
}