mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
riowatchdog: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
db26e64dc3
commit
f29b889ede
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue