]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/isdn/hardware/eicon/divasmain.c
Add a bunch of cycle_kernel_lock() calls
[linux-2.6-omap-h63xx.git] / drivers / isdn / hardware / eicon / divasmain.c
index 5fcbdccd7a5359aeac614524f37506785f47b59d..65c95019a9ae1064baaad12bb3119afc24e37377 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/list.h>
 #include <linux/poll.h>
 #include <linux/kmod.h>
+#include <linux/smp_lock.h>
 
 #include "platform.h"
 #undef ID_MASK
@@ -580,6 +581,7 @@ xdi_copy_from_user(void *os_handle, void *dst, const void __user *src, int lengt
  */
 static int divas_open(struct inode *inode, struct file *file)
 {
+       cycle_kernel_lock();
        return (0);
 }