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

ans-lcd: BKL pushdown

Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 a0762301
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
*/ */
#include <linux/types.h> #include <linux/types.h>
#include <linux/smp_lock.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
...@@ -119,6 +120,7 @@ anslcd_ioctl( struct inode * inode, struct file * file, ...@@ -119,6 +120,7 @@ anslcd_ioctl( struct inode * inode, struct file * file,
static int static int
anslcd_open( struct inode * inode, struct file * file ) anslcd_open( struct inode * inode, struct file * file )
{ {
cycle_kernel_lock();
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部