projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
485d527
)
arch/um: fix kunmap_atomic() call in skas/uaccess.c
author
Cesar Eduardo Barros
<
[email protected]
>
Fri, 4 Jun 2010 21:14:58 +0000
(14:14 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 4 Jun 2010 22:21:45 +0000
(15:21 -0700)
kunmap_atomic() takes a pointer to within the page, not the struct page.
Signed-off-by: Cesar Eduardo Barros <
[email protected]
>
Cc: Jeff Dike <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/um/kernel/skas/uaccess.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/skas/uaccess.c
b/arch/um/kernel/skas/uaccess.c
index e22c96993db3b07545e107adb57f2ef1d8ddb608..696634214dc65551557ab88535b40557fed4eb7c 100644
(file)
--- a/
arch/um/kernel/skas/uaccess.c
+++ b/
arch/um/kernel/skas/uaccess.c
@@
-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;
}