projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db26e64
)
riowatchdog: BKL pushdown
author
Arnd Bergmann
<arnd@arndb.de>
Tue, 20 May 2008 17:16:35 +0000
(19:16 +0200)
committer
Jonathan Corbet
<corbet@lwn.net>
Wed, 2 Jul 2008 21:06:24 +0000
(15:06 -0600)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/sbus/char/riowatchdog.c
patch
|
blob
|
history
diff --git
a/drivers/sbus/char/riowatchdog.c
b/drivers/sbus/char/riowatchdog.c
index a2fc6b8c1334a830dc2808cdc32b8beefd42fbe2..88c0fc6395e140acae5f610cd3126d6449af1572 100644
(file)
--- 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;
}