Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96513
b: refs/heads/master
c: 77db988
h: refs/heads/master
i:
  96511: 38867d6
v: v3
  • Loading branch information
Venki Pallipadi authored and Jesse Barnes committed May 13, 2008
1 parent e2aeec4 commit f4550c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 439a7733e8fcbaee39979c10246101565834d6b2
refs/heads/master: 77db9885646f8a88214ea482988d41f8f73630f4
4 changes: 1 addition & 3 deletions trunk/arch/x86/pci/i386.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,15 +301,13 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
prot = pgprot_val(vma->vm_page_prot);
if (pat_wc_enabled && write_combine)
prot |= _PAGE_CACHE_WC;
else if (pat_wc_enabled)
else if (pat_wc_enabled || boot_cpu_data.x86 > 3)
/*
* ioremap() and ioremap_nocache() defaults to UC MINUS for now.
* To avoid attribute conflicts, request UC MINUS here
* aswell.
*/
prot |= _PAGE_CACHE_UC_MINUS;
else if (boot_cpu_data.x86 > 3)
prot |= _PAGE_CACHE_UC;

vma->vm_page_prot = __pgprot(prot);

Expand Down

0 comments on commit f4550c5

Please sign in to comment.