Re: [PATCH] xen: don't compile pv-specific parts if XEN_PV isn't configured

From: Tycho Andersen
Date: Thu Sep 14 2017 - 12:31:09 EST


Hi Juergen,

On Thu, Sep 14, 2017 at 02:38:58PM +0200, Juergen Gross wrote:
> xenbus_client.c contains some functions specific for pv guests.
> Enclose them with #ifdef CONFIG_XEN_PV to avoid compiling them when
> they are not needed (e.g. on ARM).
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Thanks for this! I think we also need to drop the old definition,
something like the below. Can you fold this in or should I send it
separately?

Cheers,

Tycho