# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1189388010 -32400 # Node ID 05431e5ce0fdfa9fd652db5f838d91bfacd3898b # Parent ef63d6bd99b6039d9e97085067cb480b4652d62c use xc_map_foreign_pages() where possible PATCHNAME: ia64_use_xc_map_foreign_pages Signed-off-by: Isaku Yamahata diff -r ef63d6bd99b6 -r 05431e5ce0fd tools/libxc/ia64/xc_ia64_hvm_build.c --- a/tools/libxc/ia64/xc_ia64_hvm_build.c Fri Sep 07 15:04:51 2007 +0900 +++ b/tools/libxc/ia64/xc_ia64_hvm_build.c Mon Sep 10 10:33:30 2007 +0900 @@ -653,7 +653,7 @@ copy_from_GFW_to_nvram(int xc_handle, ui for ( i=0; i> PAGE_SHIFT) + i; - tmp_ptr = (char *)xc_map_foreign_batch(xc_handle, dom, + tmp_ptr = (char *)xc_map_foreign_pages(xc_handle, dom, PROT_READ | PROT_WRITE, pfn_list, nr_pages); if ( NULL == tmp_ptr ) {