[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 32 of 45] gcc-4.6 compile fix: xen/arch/x86/hvm/emulate.c
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1305824418 -7200 # Node ID afab96a155bcd7c2874f00c83c5987123b3ded4f # Parent c3b532f1954b6c36e14f41481a2ba4fa5052f6ae gcc-4.6 compile fix: xen/arch/x86/hvm/emulate.c emulate.c: In function 'hvmemul_do_io': emulate.c:62:11: error: variable 'ram_mfn' set but not used [-Werror=unused-but-set-variable] Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> diff -r c3b532f1954b -r afab96a155bc xen/arch/x86/hvm/emulate.c --- a/xen/arch/x86/hvm/emulate.c Thu May 19 19:00:17 2011 +0200 +++ b/xen/arch/x86/hvm/emulate.c Thu May 19 19:00:18 2011 +0200 @@ -59,11 +59,10 @@ static int hvmemul_do_io( ioreq_t *p = get_ioreq(curr); unsigned long ram_gfn = paddr_to_pfn(ram_gpa); p2m_type_t p2mt; - mfn_t ram_mfn; int rc; /* Check for paged out page */ - ram_mfn = gfn_to_mfn_unshare(p2m, ram_gfn, &p2mt, 0); + gfn_to_mfn_unshare(p2m, ram_gfn, &p2mt, 0); if ( p2m_is_paging(p2mt) ) { p2m_mem_paging_populate(p2m, ram_gfn); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |