|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 42 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/p2m.c
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824431 -7200
# Node ID 2e6175d0996618f80fd26106257d6cb8b61b046d
# Parent 881c89e72ed5955fee3bd90bd200e78a41f124db
gcc-4.6 compile fix: xen/arch/x86/mm/p2m.c
p2m.c: In function 'p2m_remove_page':
p2m.c:324:11: error: variable 'mfn_return' set but not used
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r 881c89e72ed5 -r 2e6175d09966 xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c Thu May 19 19:00:30 2011 +0200
+++ b/xen/arch/x86/mm/p2m.c Thu May 19 19:00:31 2011 +0200
@@ -321,7 +321,7 @@ p2m_remove_page(struct p2m_domain *p2m,
unsigned int page_order)
{
unsigned long i;
- mfn_t mfn_return;
+ mfn_t mfn_return __attribute__ ((unused));
p2m_type_t t;
p2m_access_t a;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 33 of 45] gcc-4.6 compile fix: xen/arch/x86/hvm/hvm.c, (continued)
- [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
|
|
|
|
|