[PATCH] x86/xen: Build memory type conversion code conditionally

Daniel Kiper daniel.kiper at oracle.com
Sun Nov 29 23:49:56 PST 2015


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 <daniel.kiper at oracle.com>
>
> 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



More information about the kexec mailing list