Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
91f23593
Commit
91f23593
authored
Nov 25, 2011
by
Cong Wang
Committed by
Cong Wang
Mar 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
um: remove the second argument of k[un]map_atomic()
Signed-off-by:
Cong Wang
<
amwang@redhat.com
>
parent
bc3e11be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/um/kernel/skas/uaccess.c
arch/um/kernel/skas/uaccess.c
+2
-2
No files found.
arch/um/kernel/skas/uaccess.c
View file @
91f23593
...
...
@@ -69,7 +69,7 @@ static int do_op_one_page(unsigned long addr, int len, int is_write,
return
-
1
;
page
=
pte_page
(
*
pte
);
addr
=
(
unsigned
long
)
kmap_atomic
(
page
,
KM_UML_USERCOPY
)
+
addr
=
(
unsigned
long
)
kmap_atomic
(
page
)
+
(
addr
&
~
PAGE_MASK
);
current
->
thread
.
fault_catcher
=
&
buf
;
...
...
@@ -82,7 +82,7 @@ static int do_op_one_page(unsigned long addr, int len, int is_write,
current
->
thread
.
fault_catcher
=
NULL
;
kunmap_atomic
((
void
*
)
addr
,
KM_UML_USERCOPY
);
kunmap_atomic
((
void
*
)
addr
);
return
n
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment