[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 38 of 45] gcc-4.6 compile fix: xen/arch/x86/mm.c
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1305824426 -7200 # Node ID ce00a34fc0a36f9c0d85e2ada2f458a6fc107641 # Parent 305d1c98f6f82bfec8efb7798520ff39371c1cdf gcc-4.6 compile fix: xen/arch/x86/mm.c mm.c: In function 'ptwr_emulated_update': mm.c:4979:23: error: variable 'page' set but not used [-Werror=unused-but-set-variable] Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> diff -r 305d1c98f6f8 -r ce00a34fc0a3 xen/arch/x86/mm.c --- a/xen/arch/x86/mm.c Thu May 19 19:00:25 2011 +0200 +++ b/xen/arch/x86/mm.c Thu May 19 19:00:26 2011 +0200 @@ -4976,7 +4976,7 @@ static int ptwr_emulated_update( { unsigned long mfn; unsigned long unaligned_addr = addr; - struct page_info *page; + struct page_info *page __attribute__((unused)); l1_pgentry_t pte, ol1e, nl1e, *pl1e; struct vcpu *v = current; struct domain *d = v->domain; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |