ia64/xen-unstable

diff linux-2.6-xen-sparse/drivers/xen/usbback/interface.c @ 6697:a9a78ca76cd2

Replace direct_remap_area_pages with direct_remap_pfn_range to help fix PAE domain building.
Signed-off-by: ian@xensource.com
author iap10@freefall.cl.cam.ac.uk
date Wed Sep 07 23:10:49 2005 +0000 (2005-09-07)
parents dd668f7527cb
children 4cdf880c9463
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/usbback/interface.c	Wed Sep 07 21:35:05 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/usbback/interface.c	Wed Sep 07 23:10:49 2005 +0000
     1.3 @@ -161,8 +161,8 @@ void usbif_connect(usbif_be_connect_t *c
     1.4      }
     1.5  
     1.6      prot = __pgprot(_KERNPG_TABLE);
     1.7 -    error = direct_remap_area_pages(&init_mm, VMALLOC_VMADDR(vma->addr),
     1.8 -                                    shmem_frame<<PAGE_SHIFT, PAGE_SIZE,
     1.9 +    error = direct_remap_pfn_range(&init_mm, VMALLOC_VMADDR(vma->addr),
    1.10 +                                    shmem_frame, PAGE_SIZE,
    1.11                                      prot, domid);
    1.12      if ( error != 0 )
    1.13      {