Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105273
b: refs/heads/master
c: 7ae8ed5
h: refs/heads/master
i:
  105271: 387275c
v: v3
  • Loading branch information
Rik van Riel authored and Linus Torvalds committed Jul 24, 2008
1 parent 226c84f commit 926649c
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 28b2ee20c7cba812b6f2ccf6d722cf86d00a84dc
refs/heads/master: 7ae8ed5053a39082d224a3f48409e016baca9c16
1 change: 1 addition & 0 deletions trunk/arch/x86/pci/i386.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ static void pci_track_mmap_page_range(struct vm_area_struct *vma)
static struct vm_operations_struct pci_mmap_ops = {
.open = pci_track_mmap_page_range,
.close = pci_unmap_page_range,
.access = generic_access_phys,
};

int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/char/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,10 @@ static void mmap_mem_close(struct vm_area_struct *vma)

static struct vm_operations_struct mmap_mem_ops = {
.open = mmap_mem_open,
.close = mmap_mem_close
.close = mmap_mem_close,
#ifdef CONFIG_HAVE_IOREMAP_PROT
.access = generic_access_phys
#endif
};

static int mmap_mem(struct file * file, struct vm_area_struct * vma)
Expand Down

0 comments on commit 926649c

Please sign in to comment.