git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM
[pandora-kernel.git]
/
arch
/
i386
/
pci
/
i386.c
diff --git
a/arch/i386/pci/i386.c
b/arch/i386/pci/i386.c
index
7852827
..
a151f7a
100644
(file)
--- 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,
/* Leave vm_pgoff as-is, the PCI space address is the physical
* address on this platform.
*/
- vma->vm_flags |= (VM_SHM | VM_LOCKED | VM_IO);
-
prot = pgprot_val(vma->vm_page_prot);
if (boot_cpu_data.x86 > 3)
prot |= _PAGE_PCD | _PAGE_PWT;