From: Arnd Bergmann Date: Tue, 20 May 2008 17:16:04 +0000 (+0200) Subject: ipmi-watchdog: BKL pushdown X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=af96f0103d332be92c42a44accf731da667ecc03;p=deliverable%2Flinux.git ipmi-watchdog: BKL pushdown Signed-off-by: Arnd Bergmann --- diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c index 1b9a87047817..357d99b9d0e5 100644 --- a/drivers/char/ipmi/ipmi_watchdog.c +++ b/drivers/char/ipmi/ipmi_watchdog.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -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.