Browse Source

ans-lcd: BKL pushdown

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Arnd Bergmann 17 years ago
parent
commit
b82829943c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/macintosh/ans-lcd.c

+ 2 - 0
drivers/macintosh/ans-lcd.c

@@ -3,6 +3,7 @@
  */
 
 #include <linux/types.h>
+#include <linux/smp_lock.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/miscdevice.h>
@@ -119,6 +120,7 @@ anslcd_ioctl( struct inode * inode, struct file * file,
 static int
 anslcd_open( struct inode * inode, struct file * file )
 {
+	cycle_kernel_lock();
 	return 0;
 }