History

kdb: remove the second argument of k[un]map_atomic()

Cong Wang committed 14 years ago

Commit d762a501 parent 7c0fb221 file · +2 −2Browse files

Unified · Split

kernel/debug/kdb/kdb_support.c+2−2
@@ -384,9 +384,9 @@ static int kdb_getphys(void *res, unsigned long addr, size_t size) · 383 unmodified lines
384384 if (!pfn_valid(pfn))
385385 return 1;
386386 page = pfn_to_page(pfn);
387− vaddr = kmap_atomic(page, KM_KDB);
387+ vaddr = kmap_atomic(page);
388388 memcpy(res, vaddr + (addr & (PAGE_SIZE - 1)), size);
389− kunmap_atomic(vaddr, KM_KDB);
389+ kunmap_atomic(vaddr);
390390
391391 return 0;
392392 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t