[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 39 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/mcheck/vmce.c
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1305824427 -7200 # Node ID a00c741e827f594ebd690a7e3d15d00a03e7bbef # Parent ce00a34fc0a36f9c0d85e2ada2f458a6fc107641 gcc-4.6 compile fix: xen/arch/x86/cpu/mcheck/vmce.c vmce.c: In function 'unmmap_broken_page': vmce.c:579:11: error: variable 'r_mfn' set but not used [-Werror=unused-but-set-variable] Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> diff -r ce00a34fc0a3 -r a00c741e827f xen/arch/x86/cpu/mcheck/vmce.c --- a/xen/arch/x86/cpu/mcheck/vmce.c Thu May 19 19:00:26 2011 +0200 +++ b/xen/arch/x86/cpu/mcheck/vmce.c Thu May 19 19:00:27 2011 +0200 @@ -576,7 +576,7 @@ int is_vmce_ready(struct mcinfo_bank *ba */ int unmmap_broken_page(struct domain *d, mfn_t mfn, unsigned long gfn) { - mfn_t r_mfn; + mfn_t r_mfn __attribute__ ((unused)); struct p2m_domain *p2m; p2m_type_t pt; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |