Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118131
b: refs/heads/master
c: e7706fc
h: refs/heads/master
i:
  118129: 06231ed
  118127: 5ff2f3b
v: v3
  • Loading branch information
Ken'ichi Ohmichi authored and Ingo Molnar committed Oct 28, 2008
1 parent a841572 commit 7c156b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 1281675e9c0d4d42d993697f4daab45ef22d49da
refs/heads/master: e7706fc691513b0f06adb3de3d6ac04293180146
5 changes: 4 additions & 1 deletion trunk/arch/x86/kernel/machine_kexec_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ void machine_kexec(struct kimage *image)
page_list[VA_PTE_0] = (unsigned long)kexec_pte0;
page_list[PA_PTE_1] = __pa(kexec_pte1);
page_list[VA_PTE_1] = (unsigned long)kexec_pte1;
page_list[PA_SWAP_PAGE] = (page_to_pfn(image->swap_page) << PAGE_SHIFT);

if (image->type == KEXEC_TYPE_DEFAULT)
page_list[PA_SWAP_PAGE] = (page_to_pfn(image->swap_page)
<< PAGE_SHIFT);

/* The segment registers are funny things, they have both a
* visible and an invisible part. Whenever the visible part is
Expand Down

0 comments on commit 7c156b2

Please sign in to comment.