Return-path: Received: from userp1040.oracle.com ([156.151.31.81]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a3JEE-00054i-LB for kexec@lists.infradead.org; Mon, 30 Nov 2015 07:50:31 +0000 Date: Mon, 30 Nov 2015 08:49:56 +0100 From: Daniel Kiper Subject: Re: [PATCH] x86/xen: Build memory type conversion code conditionally Message-ID: <20151130074956.GA4768@olila.local.net-space.pl> References: <1448741838-958-1-git-send-email-daniel.kiper@oracle.com> <20151129235614.GC13342@verge.net.au> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20151129235614.GC13342@verge.net.au> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Simon Horman Cc: keir@xen.org, bhe@redhat.com, konrad.wilk@oracle.com, andrew.cooper3@citrix.com, kexec@lists.infradead.org, toshi.kani@hp.com, david.vrabel@citrix.com, jbeulich@suse.com, xen-devel@lists.xenproject.org On Mon, Nov 30, 2015 at 08:56:14AM +0900, Simon Horman wrote: > On Sat, Nov 28, 2015 at 09:17:18PM +0100, Daniel Kiper wrote: > > Xen is not aware of E820_PMEM and E820_PRAM memory types, so, build > > simply fails. Hence, build code referencing them conditionally. > > > > Signed-off-by: Daniel Kiper > > I believe this is fixed by > "x86: Make sure E820_PM[AE]M are defined if needed" > which I applied a few moments ago. Yep, it works. However, I think that separate #ifdef should be for E820_PMEM and E820_PRAM. Just my $0.05. Daniel _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec