mirror of https://gitee.com/openkylin/linux.git
hp_sdc_rtc: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
4a7e79a7de
commit
986f8b8ccf
|
@ -35,6 +35,7 @@
|
||||||
|
|
||||||
#include <linux/hp_sdc.h>
|
#include <linux/hp_sdc.h>
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
|
#include <linux/smp_lock.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/module.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)
|
static int hp_sdc_rtc_open(struct inode *inode, struct file *file)
|
||||||
{
|
{
|
||||||
|
cycle_kernel_lock();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue