提交 89c7de08 编写于 作者: A Arnd Bergmann 提交者: Jonathan Corbet

efirtc: BKL pushdown

Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 080c2226
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册