ia64/xen-unstable

changeset 6051:6721c8cd1a30

this patch fixes X86_64 Xorg Xfree86 issues.
Signed-off-by: Xin Li <xin.b.li@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Aug 07 08:56:57 2005 +0000 (2005-08-07)
parents d3e7327954db
children ec1878b6956e
files linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/pgtable.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/pgtable.h	Sat Aug 06 15:47:20 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/pgtable.h	Sun Aug 07 08:56:57 2005 +0000
     1.3 @@ -512,10 +512,10 @@ int __direct_remap_area_pages(struct mm_
     1.4                                mmu_update_t *v);
     1.5  
     1.6  #define io_remap_page_range(vma, vaddr, paddr, size, prot)		\
     1.7 -		remap_pfn_range(vma, vaddr, (paddr) >> PAGE_SHIFT, size, prot)
     1.8 +		direct_remap_area_pages((vma)->vm_mm,vaddr,paddr,size,prot,DOMID_IO)
     1.9  
    1.10  #define io_remap_pfn_range(vma, vaddr, pfn, size, prot)		\
    1.11 -		remap_pfn_range(vma, vaddr, pfn, size, prot)
    1.12 +		direct_remap_area_pages((vma)->vm_mm,vaddr,(pfn)<<PAGE_SHIFT,size,prot,DOMID_IO)
    1.13  
    1.14  #define MK_IOSPACE_PFN(space, pfn)	(pfn)
    1.15  #define GET_IOSPACE(pfn)		0