From: Ian Jackson Subject: Re: [xen-unstable test] 11825: regressions - FAIL Date: Thu, 2 Feb 2012 15:51:10 +0000 Message-ID: <20266.45294.278782.694368@mariner.uk.xensource.com> References: <20266.44126.591097.812929@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20266.44126.591097.812929@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" , Andres Lagar-Cavilla , Tim Deegan Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("Re: [xen-unstable test] 11825: regressions - FAIL"): > memory.c: In function 'guest_remove_page': > memory.c:192: error: implicit declaration of function 'mem_sharing_unshare_page' > memory.c:192: error: nested extern declaration of 'mem_sharing_unshare_page' > make[4]: *** [memory.o] Error 1 > make[4]: Leaving directory `/home/osstest/build.11825.build-i386/xen-unstable/xen/common' > make[3]: *** [/home/osstest/build.11825.build-i386/xen-unstable/xen/common/built_in.o] Error 2 The patch below fixes it for me, but I'm not sure whether replacing CONFIG_X86 with __x86_64__ is proper. x86/mm: Fix 32-bit build by disabling some memory sharing code Signed-off-by: Ian Jackson diff -r dcc6d57e4c07 xen/common/memory.c --- a/xen/common/memory.c Thu Feb 02 15:28:58 2012 +0000 +++ b/xen/common/memory.c Thu Feb 02 15:49:50 2012 +0000 @@ -182,7 +182,7 @@ int guest_remove_page(struct domain *d, } page = mfn_to_page(mfn); -#ifdef CONFIG_X86 +#ifdef __x86_64__ if ( p2m_is_shared(p2mt) ) { /* Unshare the page, bail out on error. We unshare because