|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 37 of 45] gcc-4.6 compile fix: xen/arch/x86/x86_64/mm
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824425 -7200
# Node ID 305d1c98f6f82bfec8efb7798520ff39371c1cdf
# Parent 535fce9f4de3e0ecf630b2707d28c8c8bfbc0b67
gcc-4.6 compile fix: xen/arch/x86/x86_64/mm.c
mm.c: In function 'setup_compat_m2p_table':
mm.c:440:21: error: variable 'memflags' set but not used
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r 535fce9f4de3 -r 305d1c98f6f8 xen/arch/x86/x86_64/mm.c
--- a/xen/arch/x86/x86_64/mm.c Thu May 19 19:00:24 2011 +0200
+++ b/xen/arch/x86/x86_64/mm.c Thu May 19 19:00:25 2011 +0200
@@ -437,7 +437,7 @@ void destroy_m2p_mapping(struct mem_hota
static int setup_compat_m2p_table(struct mem_hotadd_info *info)
{
unsigned long i, va, smap, emap, rwva, epfn = info->epfn;
- unsigned int n, memflags;
+ unsigned int n;
l3_pgentry_t *l3_ro_mpt = NULL;
l2_pgentry_t *l2_ro_mpt = NULL;
struct page_info *l1_pg;
@@ -489,8 +489,6 @@ static int setup_compat_m2p_table(struct
if ( n == CNT )
continue;
- memflags = MEMF_node(phys_to_nid(i << PAGE_SHIFT));
-
l1_pg = mfn_to_page(alloc_hotadd_mfn(info));
err = map_pages_to_xen(rwva, page_to_mfn(l1_pg),
1UL << PAGETABLE_ORDER,
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 29 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/intel.c, (continued)
- [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
- [Xen-devel] [PATCH 45 of 45] gcc-4.6 compile fix: xen/arch/x86/domain_build.c, Olaf Hering
- Re: [Xen-devel] [PATCH 00 of 45] gcc 4.6 compile fixes for xen-unstable, Jan Beulich
|
|
|
|
|