diff options
author | Arnd Bergmann <arnd@arndb.de> | 2008-05-20 19:15:53 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-06-20 14:05:56 -0600 |
commit | 1d17bf0c08569e7aefd27df0179065fb955588c4 (patch) | |
tree | c6b03096b1376ccdacfa1277c0163ce58cda5244 /drivers | |
parent | 89c7de08c5fc059c4f6231571416d9bc0bbc91d4 (diff) | |
download | op-kernel-dev-1d17bf0c08569e7aefd27df0179065fb955588c4.zip op-kernel-dev-1d17bf0c08569e7aefd27df0179065fb955588c4.tar.gz |
envctrl: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers')
-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 dadabef..a408402 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; } |