diff options
-rw-r--r-- | arch/um/kernel/skas/uaccess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/skas/uaccess.c b/arch/um/kernel/skas/uaccess.c index e22c96993db3..696634214dc6 100644 --- 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, | |||
81 | 81 | ||
82 | current->thread.fault_catcher = NULL; | 82 | current->thread.fault_catcher = NULL; |
83 | 83 | ||
84 | kunmap_atomic(page, KM_UML_USERCOPY); | 84 | kunmap_atomic((void *)addr, KM_UML_USERCOPY); |
85 | 85 | ||
86 | return n; | 86 | return n; |
87 | } | 87 | } |