diff options
Diffstat (limited to 'drivers/char/efirtc.c')
-rw-r--r-- | drivers/char/efirtc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/efirtc.c b/drivers/char/efirtc.c index 49233f5..d57ca3e 100644 --- a/drivers/char/efirtc.c +++ b/drivers/char/efirtc.c @@ -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; } |