]> Git Repo - linux.git/commitdiff
ans-lcd: BKL pushdown
authorArnd Bergmann <[email protected]>
Tue, 20 May 2008 17:15:32 +0000 (19:15 +0200)
committerJonathan Corbet <[email protected]>
Fri, 20 Jun 2008 20:05:54 +0000 (14:05 -0600)
Signed-off-by: Arnd Bergmann <[email protected]>
drivers/macintosh/ans-lcd.c

index 73c50bc02095e26b31ec61d76ee81f7f46e4e36d..6a8221893256f55f79bf24cd5fcdcca72cfe3d6a 100644 (file)
@@ -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;
 }
 
This page took 0.05461 seconds and 4 git commands to generate.