aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/xen/mmu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index 0ccccb67a993..2e78619bc538 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -1829,6 +1829,7 @@ static void xen_set_fixmap(unsigned idx, phys_addr_t phys, pgprot_t prot)
1829# endif 1829# endif
1830#else 1830#else
1831 case VSYSCALL_LAST_PAGE ... VSYSCALL_FIRST_PAGE: 1831 case VSYSCALL_LAST_PAGE ... VSYSCALL_FIRST_PAGE:
1832 case VVAR_PAGE:
1832#endif 1833#endif
1833 case FIX_TEXT_POKE0: 1834 case FIX_TEXT_POKE0:
1834 case FIX_TEXT_POKE1: 1835 case FIX_TEXT_POKE1:
@@ -1869,7 +1870,8 @@ static void xen_set_fixmap(unsigned idx, phys_addr_t phys, pgprot_t prot)
1869#ifdef CONFIG_X86_64 1870#ifdef CONFIG_X86_64
1870 /* Replicate changes to map the vsyscall page into the user 1871 /* Replicate changes to map the vsyscall page into the user
1871 pagetable vsyscall mapping. */ 1872 pagetable vsyscall mapping. */
1872 if (idx >= VSYSCALL_LAST_PAGE && idx <= VSYSCALL_FIRST_PAGE) { 1873 if ((idx >= VSYSCALL_LAST_PAGE && idx <= VSYSCALL_FIRST_PAGE) ||
1874 idx == VVAR_PAGE) {
1873 unsigned long vaddr = __fix_to_virt(idx); 1875 unsigned long vaddr = __fix_to_virt(idx);
1874 set_pte_vaddr_pud(level3_user_vsyscall, vaddr, pte); 1876 set_pte_vaddr_pud(level3_user_vsyscall, vaddr, pte);
1875 } 1877 }