Commit bde8beca authored by Alexander Kartashov's avatar Alexander Kartashov Committed by Pavel Emelyanov

cr: use uint64_t to represent a virtual address

The patch reverts the commit 58064d9b.
Signed-off-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent ac97f907
...@@ -278,7 +278,7 @@ static int restore_priv_vma_content(pid_t pid) ...@@ -278,7 +278,7 @@ static int restore_priv_vma_content(pid_t pid)
* Read page contents. * Read page contents.
*/ */
while (1) { while (1) {
unsigned long va, page_offset; uint64_t va, page_offset;
char buf[PAGE_SIZE]; char buf[PAGE_SIZE];
void *p; void *p;
......
...@@ -190,7 +190,7 @@ static int dump_pages(struct parasite_dump_pages_args *args) ...@@ -190,7 +190,7 @@ static int dump_pages(struct parasite_dump_pages_args *args)
ret = 0; ret = 0;
for (pfn = 0; pfn < nrpages; pfn++) { for (pfn = 0; pfn < nrpages; pfn++) {
unsigned long vaddr; uint64_t vaddr;
if (should_dump_page(&args->vma_entry, map[pfn])) { if (should_dump_page(&args->vma_entry, map[pfn])) {
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment