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

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

ipmi-watchdog: BKL pushdown



Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent b0e54f7c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
#include <linux/moduleparam.h>
#include <linux/ipmi.h>
#include <linux/ipmi_smi.h>
#include <linux/smp_lock.h>
#include <linux/watchdog.h>
#include <linux/miscdevice.h>
#include <linux/init.h>
@@ -819,6 +820,8 @@ static int ipmi_open(struct inode *ino, struct file *filep)
		if (test_and_set_bit(0, &ipmi_wdog_open))
			return -EBUSY;

		cycle_kernel_lock();

		/*
		 * Don't start the timer now, let it start on the
		 * first heartbeat.