mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
arch/um: fix kunmap_atomic() call in skas/uaccess.c
kunmap_atomic() takes a pointer to within the page, not the struct page. Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
485d527686
commit
fc0ccfceb8
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ static int do_op_one_page(unsigned long addr, int len, int is_write,
|
|||
|
||||
current->thread.fault_catcher = NULL;
|
||||
|
||||
kunmap_atomic(page, KM_UML_USERCOPY);
|
||||
kunmap_atomic((void *)addr, KM_UML_USERCOPY);
|
||||
|
||||
return n;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue