Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334178
b: refs/heads/master
c: fd3bc66
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Oct 10, 2012
1 parent 29b9de1 commit 153c69b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3617f72036c909e1f6086b5b9e364e0ef90a6da
refs/heads/master: fd3bc66f1dd5d062b5f0a7afc90c69d8da5b42db
2 changes: 1 addition & 1 deletion trunk/drivers/vfio/pci/vfio_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ static int vfio_pci_mmap(void *device_data, struct vm_area_struct *vma)
}

vma->vm_private_data = vdev;
vma->vm_flags |= (VM_IO | VM_RESERVED);
vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP;
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);

phys = (pci_resource_start(pdev, index) >> PAGE_SHIFT) + pgoff;
Expand Down

0 comments on commit 153c69b

Please sign in to comment.