mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
envctrl: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
89c7de08c5
commit
1d17bf0c08
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue