From: Arnd Bergmann Date: Tue, 20 May 2008 17:15:53 +0000 (+0200) Subject: envctrl: BKL pushdown X-Git-Tag: v2.6.27-rc1~1103^2~64 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d17bf0c08569e7aefd27df0179065fb955588c4;p=linux-2.6 envctrl: BKL pushdown Signed-off-by: Arnd Bergmann --- diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index dadabef116..a408402426 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -694,6 +695,7 @@ envctrl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) static int envctrl_open(struct inode *inode, struct file *file) { + cycle_kernel_lock(); file->private_data = NULL; return 0; }