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
d762a50b
Commit
d762a50b
authored
Nov 25, 2011
by
Cong Wang
Committed by
Cong Wang
Mar 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kdb: remove the second argument of k[un]map_atomic()
Signed-off-by:
Cong Wang
<
amwang@redhat.com
>
parent
7c0fb227
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
kernel/debug/kdb/kdb_support.c
kernel/debug/kdb/kdb_support.c
+2
-2
No files found.
kernel/debug/kdb/kdb_support.c
View file @
d762a50b
...
...
@@ -384,9 +384,9 @@ static int kdb_getphys(void *res, unsigned long addr, size_t size)
if
(
!
pfn_valid
(
pfn
))
return
1
;
page
=
pfn_to_page
(
pfn
);
vaddr
=
kmap_atomic
(
page
,
KM_KDB
);
vaddr
=
kmap_atomic
(
page
);
memcpy
(
res
,
vaddr
+
(
addr
&
(
PAGE_SIZE
-
1
)),
size
);
kunmap_atomic
(
vaddr
,
KM_KDB
);
kunmap_atomic
(
vaddr
);
return
0
;
}
...
...
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