[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] [IA64] Revert paravirtualization to ioremap /proc/pci



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1185814315 21600
# Node ID 6d84769b52563c8ecdbe3ee001befcbfbbf6bfcd
# Parent  b0bf9ba32bfe341af07da97d57572659c920fd30
[IA64] Revert paravirtualization to ioremap /proc/pci

Signed-off-by: Jun Kamada <kama@xxxxxxxxxxxxxx>
---
 arch/ia64/pci/pci.c |   16 ----------------
 1 files changed, 16 deletions(-)

diff -r b0bf9ba32bfe -r 6d84769b5256 arch/ia64/pci/pci.c
--- a/arch/ia64/pci/pci.c       Fri Jul 27 08:15:50 2007 -0600
+++ b/arch/ia64/pci/pci.c       Mon Jul 30 10:51:55 2007 -0600
@@ -612,14 +612,6 @@ pci_mmap_page_range (struct pci_dev *dev
        else
                vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
 
-       if (is_initial_xendomain()) {
-               unsigned long addr = vma->vm_pgoff << PAGE_SHIFT;
-               size_t size = vma->vm_end - vma->vm_start;
-               unsigned long offset = HYPERVISOR_ioremap(addr, size);
-               if (IS_ERR_VALUE(offset))
-                       return offset;
-       }
-
        if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
                             vma->vm_end - vma->vm_start, vma->vm_page_prot))
                return -EAGAIN;
@@ -676,14 +668,6 @@ pci_mmap_legacy_page_range(struct pci_bu
 
        vma->vm_pgoff += (unsigned long)addr >> PAGE_SHIFT;
        vma->vm_page_prot = prot;
-
-       if (is_initial_xendomain()) {
-               unsigned long addr = vma->vm_pgoff << PAGE_SHIFT;
-               size_t size = vma->vm_end - vma->vm_start;
-               unsigned long offset = HYPERVISOR_ioremap(addr, size);
-               if (IS_ERR_VALUE(offset))
-                       return offset;
-       }
 
        if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
                            size, vma->vm_page_prot))

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.