git.samba.org
/
sfrench
/
cifs-2.6.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
[sfrench/cifs-2.6.git]
/
arch
/
cris
/
arch-v32
/
drivers
/
pci
/
bios.c
diff --git
a/arch/cris/arch-v32/drivers/pci/bios.c
b/arch/cris/arch-v32/drivers/pci/bios.c
index 24bc149889b6d00976ea3c0115546c0c5d2a1db0..1e9d062103aec24a993c8c0e4263e4e9778df9a3 100644
(file)
--- a/
arch/cris/arch-v32/drivers/pci/bios.c
+++ b/
arch/cris/arch-v32/drivers/pci/bios.c
@@
-27,8
+27,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);
vma->vm_page_prot = __pgprot(prot);