Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116965
b: refs/heads/master
c: 201bdc8
h: refs/heads/master
i:
  116963: a7bdcf2
v: v3
  • Loading branch information
David Gibson authored and Benjamin Herrenschmidt committed Oct 22, 2008
1 parent 5f4194d commit 8e200e7
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8873d93b4bf0bd270c3fc7e178211633e7a1d5e8
refs/heads/master: 201bdc868d9e3122bbe4491aa6b5fc4dee4cdb96
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/kernel/pci-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,8 @@ int pci_mmap_legacy_page_range(struct pci_bus *bus,
pr_debug(" -> mapping phys %llx\n", (unsigned long long)offset);

vma->vm_pgoff = offset >> PAGE_SHIFT;
vma->vm_page_prot |= _PAGE_NO_CACHE | _PAGE_GUARDED;
vma->vm_page_prot = __pgprot(pgprot_val(vma->vm_page_prot)
| _PAGE_NO_CACHE | _PAGE_GUARDED);
return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
vma->vm_end - vma->vm_start,
vma->vm_page_prot);
Expand Down

0 comments on commit 8e200e7

Please sign in to comment.