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:
7c0fb22
)
kdb: remove the second argument of k[un]map_atomic()
author
Cong Wang
<amwang@redhat.com>
Fri, 25 Nov 2011 15:14:38 +0000
(23:14 +0800)
committer
Cong Wang
<xiyou.wangcong@gmail.com>
Tue, 20 Mar 2012 13:48:26 +0000
(21:48 +0800)
Signed-off-by: Cong Wang <amwang@redhat.com>
kernel/debug/kdb/kdb_support.c
patch
|
blob
|
history
diff --git
a/kernel/debug/kdb/kdb_support.c
b/kernel/debug/kdb/kdb_support.c
index 7d6fb40d21885c0d5f087d87bc1191ba6c101a1d..d35cc2d3a4cc08c548dad03dee074b9bedaa2da2 100644
(file)
--- a/
kernel/debug/kdb/kdb_support.c
+++ b/
kernel/debug/kdb/kdb_support.c
@@
-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;
}