]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
hp_sdc_rtc: BKL pushdown
authorArnd Bergmann <arnd@arndb.de>
Tue, 20 May 2008 17:15:58 +0000 (19:15 +0200)
committerJonathan 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

index 45e5d05b01dee4cfd674bf9beae2c5b55cf48808..49d8abfe38fe01c3db1fe0702d125daaf4605e00 100644 (file)
@@ -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;
 }