]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/macintosh/ans-lcd.c
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6-omap-h63xx.git] / 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;
 }