Commit bd6859fe authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jonathan Corbet

uml-mmapper: BKL pushdown

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 78dccb46
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include "mem_user.h" #include "mem_user.h"
...@@ -77,6 +78,7 @@ static int mmapper_mmap(struct file *file, struct vm_area_struct *vma) ...@@ -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) static int mmapper_open(struct inode *inode, struct file *file)
{ {
cycle_kernel_lock();
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment