diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/xen/mmu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index f08ea045620f..792de4349c79 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
@@ -2299,7 +2299,8 @@ int xen_remap_domain_mfn_range(struct vm_area_struct *vma, | |||
2299 | 2299 | ||
2300 | prot = __pgprot(pgprot_val(prot) | _PAGE_IOMAP); | 2300 | prot = __pgprot(pgprot_val(prot) | _PAGE_IOMAP); |
2301 | 2301 | ||
2302 | vma->vm_flags |= VM_IO | VM_RESERVED | VM_PFNMAP; | 2302 | BUG_ON(!((vma->vm_flags & (VM_PFNMAP | VM_RESERVED | VM_IO)) == |
2303 | (VM_PFNMAP | VM_RESERVED | VM_IO))); | ||
2303 | 2304 | ||
2304 | rmd.mfn = mfn; | 2305 | rmd.mfn = mfn; |
2305 | rmd.prot = prot; | 2306 | rmd.prot = prot; |