From: Arnd Bergmann Date: Tue, 20 May 2008 17:16:35 +0000 (+0200) Subject: riowatchdog: BKL pushdown X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f29b889edef0c3ab98732c84247c790a1583cb94;p=deliverable%2Flinux.git riowatchdog: BKL pushdown Signed-off-by: Arnd Bergmann --- 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 #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; }