|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] [PATCH 35 of 45] gcc-4.6 compile fix:	xen/arch/x86/mm/p2m-po 
| # HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824422 -7200
# Node ID ac80525a292af94a2294dad07d5927167a49f44e
# Parent  2aa144e0963abf2cb568e7b82204a371147a4c47
gcc-4.6 compile fix: xen/arch/x86/mm/p2m-pod.c
p2m-pod.c: In function 'guest_physmap_mark_populate_on_demand':
p2m-pod.c:1101:11: error: variable 'omfn' set but not used 
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r 2aa144e0963a -r ac80525a292a xen/arch/x86/mm/p2m-pod.c
--- a/xen/arch/x86/mm/p2m-pod.c Thu May 19 19:00:21 2011 +0200
+++ b/xen/arch/x86/mm/p2m-pod.c Thu May 19 19:00:22 2011 +0200
@@ -1098,7 +1098,6 @@ guest_physmap_mark_populate_on_demand(st
     struct p2m_domain *p2m = p2m_get_hostp2m(d);
     unsigned long i;
     p2m_type_t ot;
-    mfn_t omfn;
     int pod_count = 0;
     int rc = 0;
 
@@ -1116,7 +1115,7 @@ guest_physmap_mark_populate_on_demand(st
     /* Make sure all gpfns are unused */
     for ( i = 0; i < (1UL << order); i++ )
     {
-        omfn = gfn_to_mfn_query(p2m, gfn + i, &ot);
+        gfn_to_mfn_query(p2m, gfn + i, &ot);
         if ( p2m_is_ram(ot) )
         {
             printk("%s: gfn_to_mfn returned type %d!\n",
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
Re: [Xen-devel] [PATCH 27 of 45] gcc-4.6 compile fix:	xen/arch/x86/acpi/cpu_idle.c, (continued)
[Xen-devel] [PATCH 28 of 45] gcc-4.6 compile fix:	xen/arch/x86/cpu/amd.c, Olaf Hering
[Xen-devel] [PATCH 29 of 45] gcc-4.6 compile fix:	xen/arch/x86/cpu/intel.c, Olaf Hering
[Xen-devel] [PATCH 30 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/intel_cacheinfo.c, Olaf Hering
[Xen-devel] [PATCH 32 of 45] gcc-4.6 compile fix:	xen/arch/x86/hvm/emulate.c, Olaf Hering
[Xen-devel] [PATCH 33 of 45] gcc-4.6 compile fix:	xen/arch/x86/hvm/hvm.c, Olaf Hering
[Xen-devel] [PATCH 31 of 45] gcc-4.6 compile fix:	xen/arch/x86/cpu/mcheck/mce.c, Olaf Hering
[Xen-devel] [PATCH 34 of 45] gcc-4.6 compile fix:	xen/arch/x86/hvm/viridian.c, Olaf Hering
[Xen-devel] [PATCH 35 of 45] gcc-4.6 compile fix:	xen/arch/x86/mm/p2m-pod.c,
Olaf Hering <=
[Xen-devel] [PATCH 36 of 45] gcc-4.6 compile fix:	xen/arch/x86/mm/mem_sharing.c, Olaf Hering
[Xen-devel] [PATCH 37 of 45] gcc-4.6 compile fix:	xen/arch/x86/x86_64/mm.c, Olaf Hering
[Xen-devel] [PATCH 38 of 45] gcc-4.6 compile fix: xen/arch/x86/mm.c, Olaf Hering
[Xen-devel] [PATCH 39 of 45] gcc-4.6 compile fix:	xen/arch/x86/cpu/mcheck/vmce.c, Olaf Hering
[Xen-devel] [PATCH 40 of 45] gcc-4.6 compile fix: xen/common/tmem.c, Olaf Hering
[Xen-devel] [PATCH 41 of 45] gcc-4.6 compile fix:	xen/common/tmem_xen.c, Olaf Hering
[Xen-devel] [PATCH 42 of 45] gcc-4.6 compile fix:	xen/arch/x86/mm/p2m.c, Olaf Hering
[Xen-devel] [PATCH 43 of 45] gcc-4.6 compile fix:	xen/arch/x86/mm/shadow/multi.c, Olaf Hering
[Xen-devel] [PATCH 44 of 45] gcc-4.6 compile fix:	xen/arch/x86/traps.c, Olaf Hering
 |  |  | 
  
    |  |  |