diff options
| -rw-r--r-- | arch/x86/xen/mmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index aba77b2b7d18..49697d86c6a5 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
| @@ -874,7 +874,7 @@ static void __xen_pgd_pin(struct mm_struct *mm, pgd_t *pgd) | |||
| 874 | #else /* CONFIG_X86_32 */ | 874 | #else /* CONFIG_X86_32 */ |
| 875 | #ifdef CONFIG_X86_PAE | 875 | #ifdef CONFIG_X86_PAE |
| 876 | /* Need to make sure unshared kernel PMD is pinnable */ | 876 | /* Need to make sure unshared kernel PMD is pinnable */ |
| 877 | xen_pin_page(mm, virt_to_page(pgd_page(pgd[pgd_index(TASK_SIZE)])), | 877 | xen_pin_page(mm, pgd_page(pgd[pgd_index(TASK_SIZE)]), |
| 878 | PT_PMD); | 878 | PT_PMD); |
| 879 | #endif | 879 | #endif |
| 880 | xen_do_pin(MMUEXT_PIN_L3_TABLE, PFN_DOWN(__pa(pgd))); | 880 | xen_do_pin(MMUEXT_PIN_L3_TABLE, PFN_DOWN(__pa(pgd))); |
| @@ -991,7 +991,7 @@ static void __xen_pgd_unpin(struct mm_struct *mm, pgd_t *pgd) | |||
| 991 | 991 | ||
| 992 | #ifdef CONFIG_X86_PAE | 992 | #ifdef CONFIG_X86_PAE |
| 993 | /* Need to make sure unshared kernel PMD is unpinned */ | 993 | /* Need to make sure unshared kernel PMD is unpinned */ |
| 994 | xen_unpin_page(mm, virt_to_page(pgd_page(pgd[pgd_index(TASK_SIZE)])), | 994 | xen_unpin_page(mm, pgd_page(pgd[pgd_index(TASK_SIZE)]), |
| 995 | PT_PMD); | 995 | PT_PMD); |
| 996 | #endif | 996 | #endif |
| 997 | 997 | ||
