]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/efirtc.c
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6-omap-h63xx.git] / drivers / char / efirtc.c
index 49233f5898742040339b5a1d31c4ce7fd74d9960..d57ca3e4e5343311f43acbf8b35021ed16ee3fe4 100644 (file)
@@ -28,6 +28,7 @@
  */
 
 
+#include <linux/smp_lock.h>
 #include <linux/types.h>
 #include <linux/errno.h>
 #include <linux/miscdevice.h>
@@ -272,6 +273,7 @@ efi_rtc_open(struct inode *inode, struct file *file)
         * We do accept multiple open files at the same time as we
         * synchronize on the per call operation.
         */
+       cycle_kernel_lock();
        return 0;
 }