projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080c222
)
efirtc: BKL pushdown
author
Arnd Bergmann
<arnd@arndb.de>
Tue, 20 May 2008 17:15:52 +0000
(19:15 +0200)
committer
Jonathan Corbet
<corbet@lwn.net>
Fri, 20 Jun 2008 20:05:56 +0000
(14:05 -0600)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/char/efirtc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/efirtc.c
b/drivers/char/efirtc.c
index 49233f5898742040339b5a1d31c4ce7fd74d9960..d57ca3e4e5343311f43acbf8b35021ed16ee3fe4 100644
(file)
--- 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;
}