ans-lcd: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
a076230134
commit
b82829943c
|
@ -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,
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue