Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f29b889e authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jonathan Corbet
Browse files

riowatchdog: BKL pushdown



Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent db26e64d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}