xen/balloon: decorate PV-only parts with #ifdef CONFIG_XEN_PV
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 14 Mar 2017 17:35:53 +0000 (18:35 +0100)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:09:56 +0000 (11:09 +0200)
commit4fee9ad84e9648a3cb07586501d283d3aef9f923
treea8d5e512be092c4711541e82c33e37f5f884b99c
parent3d4ebdb26f6f3573d68d7957f66a89e9401fc4b1
xen/balloon: decorate PV-only parts with #ifdef CONFIG_XEN_PV

Balloon driver uses several PV-only concepts (xen_start_info,
xen_extra_mem,..) and it seems the simpliest solution to make HVM-only
build happy is to decorate these parts with #ifdefs.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/balloon.c