From: Arnd Bergmann Date: Tue, 20 May 2008 17:16:35 +0000 (+0200) Subject: riowatchdog: BKL pushdown X-Git-Tag: v2.6.27-rc1~1103^2~34 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f29b889edef0c3ab98732c84247c790a1583cb94;p=linux-2.6-omap-h63xx.git riowatchdog: BKL pushdown Signed-off-by: Arnd Bergmann --- 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 #include #include +#include #include #include @@ -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; }