Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291823
b: refs/heads/master
c: d762a50
h: refs/heads/master
i:
  291821: db989bb
  291819: 5e99824
  291815: a6ee1bf
  291807: 0f0dcb5
v: v3
  • Loading branch information
Cong Wang authored and Cong Wang committed Mar 20, 2012
1 parent 72e014b commit dc7f5ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c0fb227529102d38603c0afc76a2c18a7581afa
refs/heads/master: d762a50b5b1bb93e91cb3cd90b6ae133da98fe31
4 changes: 2 additions & 2 deletions trunk/kernel/debug/kdb/kdb_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dc7f5ae

Please sign in to comment.