commit | 89c7de08c5fc059c4f6231571416d9bc0bbc91d4 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Tue May 20 19:15:52 2008 +0200 |
committer | Jonathan Corbet <corbet@lwn.net> | Fri Jun 20 14:05:56 2008 -0600 |
tree | 80d048056492951039759d6d4f82f71a043b15a1 | |
parent | 080c2226474fa3060fadce9a2341004f477aadb3 [diff] [blame] |
efirtc: BKL pushdown Signed-off-by: Arnd Bergmann <arnd@arndb.de>
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 @@ * We do accept multiple open files at the same time as we * synchronize on the per call operation. */ + cycle_kernel_lock(); return 0; }