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

uml-mmapper: BKL pushdown

Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 78dccb46
......@@ -16,6 +16,7 @@
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
#include "mem_user.h"
......@@ -77,6 +78,7 @@ static int mmapper_mmap(struct file *file, struct vm_area_struct *vma)
static int mmapper_open(struct inode *inode, struct file *file)
{
cycle_kernel_lock();
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册