From: Arnd Bergmann Date: Tue, 20 May 2008 17:16:04 +0000 (+0200) Subject: ipmi-watchdog: BKL pushdown X-Git-Tag: v2.6.27-rc1~1103^2~55 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=af96f0103d332be92c42a44accf731da667ecc03;p=linux-2.6-omap-h63xx.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 1b9a8704781..357d99b9d0e 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.