diff options
Diffstat (limited to 'arch/ppc/kernel/pci.c')
-rw-r--r-- | arch/ppc/kernel/pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/ppc/kernel/pci.c b/arch/ppc/kernel/pci.c index 809673a36f7a..d20accf9650d 100644 --- a/arch/ppc/kernel/pci.c +++ b/arch/ppc/kernel/pci.c | |||
@@ -1032,7 +1032,6 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | |||
1032 | return -EINVAL; | 1032 | return -EINVAL; |
1033 | 1033 | ||
1034 | vma->vm_pgoff = offset >> PAGE_SHIFT; | 1034 | vma->vm_pgoff = offset >> PAGE_SHIFT; |
1035 | vma->vm_flags |= VM_SHM | VM_LOCKED | VM_IO; | ||
1036 | vma->vm_page_prot = __pci_mmap_set_pgprot(dev, rp, | 1035 | vma->vm_page_prot = __pci_mmap_set_pgprot(dev, rp, |
1037 | vma->vm_page_prot, | 1036 | vma->vm_page_prot, |
1038 | mmap_state, write_combine); | 1037 | mmap_state, write_combine); |