projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a7e79a
)
hp_sdc_rtc: BKL pushdown
author
Arnd Bergmann
<arnd@arndb.de>
Tue, 20 May 2008 17:15:58 +0000
(19:15 +0200)
committer
Jonathan Corbet
<corbet@lwn.net>
Fri, 20 Jun 2008 20:05:57 +0000
(14:05 -0600)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/input/misc/hp_sdc_rtc.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/hp_sdc_rtc.c
b/drivers/input/misc/hp_sdc_rtc.c
index 45e5d05b01dee4cfd674bf9beae2c5b55cf48808..49d8abfe38fe01c3db1fe0702d125daaf4605e00 100644
(file)
--- a/
drivers/input/misc/hp_sdc_rtc.c
+++ b/
drivers/input/misc/hp_sdc_rtc.c
@@
-35,6
+35,7
@@
#include <linux/hp_sdc.h>
#include <linux/errno.h>
+#include <linux/smp_lock.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/module.h>
@@
-408,6
+409,7
@@
static unsigned int hp_sdc_rtc_poll(struct file *file, poll_table *wait)
static int hp_sdc_rtc_open(struct inode *inode, struct file *file)
{
+ cycle_kernel_lock();
return 0;
}