diff options
Diffstat (limited to 'arch/i386/pci/i386.c')
-rw-r--r-- | arch/i386/pci/i386.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/i386/pci/i386.c b/arch/i386/pci/i386.c index 7852827a599b..a151f7a99f5e 100644 --- a/arch/i386/pci/i386.c +++ b/arch/i386/pci/i386.c | |||
@@ -285,8 +285,6 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | |||
285 | /* Leave vm_pgoff as-is, the PCI space address is the physical | 285 | /* Leave vm_pgoff as-is, the PCI space address is the physical |
286 | * address on this platform. | 286 | * address on this platform. |
287 | */ | 287 | */ |
288 | vma->vm_flags |= (VM_SHM | VM_LOCKED | VM_IO); | ||
289 | |||
290 | prot = pgprot_val(vma->vm_page_prot); | 288 | prot = pgprot_val(vma->vm_page_prot); |
291 | if (boot_cpu_data.x86 > 3) | 289 | if (boot_cpu_data.x86 > 3) |
292 | prot |= _PAGE_PCD | _PAGE_PWT; | 290 | prot |= _PAGE_PCD | _PAGE_PWT; |