diff options
author | Arnd Bergmann <arnd@arndb.de> | 2008-05-20 19:15:53 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-06-20 22:05:56 +0200 |
commit | 1d17bf0c08569e7aefd27df0179065fb955588c4 (patch) | |
tree | c6b03096b1376ccdacfa1277c0163ce58cda5244 /drivers/sbus/char/envctrl.c | |
parent | efirtc: BKL pushdown (diff) | |
download | linux-1d17bf0c08569e7aefd27df0179065fb955588c4.tar.xz linux-1d17bf0c08569e7aefd27df0179065fb955588c4.zip |
envctrl: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/sbus/char/envctrl.c')
-rw-r--r-- | drivers/sbus/char/envctrl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index dadabef116b6..a408402426f8 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c @@ -27,6 +27,7 @@ #include <linux/miscdevice.h> #include <linux/kmod.h> #include <linux/reboot.h> +#include <linux/smp_lock.h> #include <asm/ebus.h> #include <asm/uaccess.h> @@ -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; } |