diff options
author | Arnd Bergmann <arnd@arndb.de> | 2008-05-20 19:15:52 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-06-20 14:05:56 -0600 |
commit | 89c7de08c5fc059c4f6231571416d9bc0bbc91d4 (patch) | |
tree | 80d048056492951039759d6d4f82f71a043b15a1 /drivers/char/efirtc.c | |
parent | 080c2226474fa3060fadce9a2341004f477aadb3 (diff) | |
download | blackbird-op-linux-89c7de08c5fc059c4f6231571416d9bc0bbc91d4.tar.gz blackbird-op-linux-89c7de08c5fc059c4f6231571416d9bc0bbc91d4.zip |
efirtc: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
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 49233f589874..d57ca3e4e534 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; } |