]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8ec03883d5691f68548b67a1dd4c2e55d76e67c
treea8d5e512be092c4711541e82c33e37f5f884b99c
parentcefe554393fcab15911fa0e94da3cf0f49672e95
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