提交 f138e481 编写于 作者: A Arnd Bergmann 提交者: Jonathan Corbet

uctrl: BKL pushdown

Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 25368ca5
......@@ -9,6 +9,7 @@
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
......@@ -211,8 +212,10 @@ uctrl_ioctl(struct inode *inode, struct file *file,
static int
uctrl_open(struct inode *inode, struct file *file)
{
lock_kernel();
uctrl_get_event_status();
uctrl_get_external_status();
unlock_kernel();
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册