Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2cb22e23a5fcbcac2de49493aa57c7694028a06a Commit: 2cb22e23a5fcbcac2de49493aa57c7694028a06a Parent: 9b50ffb0c0281bc5a08ccd56ae9bb84296c28f38 Author: Bjorn Helgaas <[EMAIL PROTECTED]> AuthorDate: Fri Mar 30 10:34:44 2007 -0600 Committer: Tony Luck <[EMAIL PROTECTED]> CommitDate: Fri Mar 30 09:38:03 2007 -0700
[IA64] allow WB /sys/.../legacy_mem mmaps Allow cacheable mmaps of legacy_mem if WB access is supported for the region. The "legacy_mem" file often contains a shadow option ROM, and some versions of X depend on this. Tim Yamin <[EMAIL PROTECTED]> reported that this change fixes X on a Dell PowerEdge 3250. Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> Signed-off-by: Tony Luck <[EMAIL PROTECTED]> --- arch/ia64/pci/pci.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index 0e83f3b..9f63589 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c @@ -659,8 +659,6 @@ pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma) return -EINVAL; prot = phys_mem_access_prot(NULL, vma->vm_pgoff, size, vma->vm_page_prot); - if (pgprot_val(prot) != pgprot_val(pgprot_noncached(vma->vm_page_prot))) - return -EINVAL; addr = pci_get_legacy_mem(bus); if (IS_ERR(addr)) - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html