diff options
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 5ad87c426bed..247937dd8b73 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -877,7 +877,6 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | |||
877 | return -EINVAL; | 877 | return -EINVAL; |
878 | 878 | ||
879 | vma->vm_pgoff = offset >> PAGE_SHIFT; | 879 | vma->vm_pgoff = offset >> PAGE_SHIFT; |
880 | vma->vm_flags |= VM_SHM | VM_LOCKED | VM_IO; | ||
881 | vma->vm_page_prot = __pci_mmap_set_pgprot(dev, rp, | 880 | vma->vm_page_prot = __pci_mmap_set_pgprot(dev, rp, |
882 | vma->vm_page_prot, | 881 | vma->vm_page_prot, |
883 | mmap_state, write_combine); | 882 | mmap_state, write_combine); |