x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set
authorVitaly Kuznetsov <vkuznets@redhat.com>
Sun, 25 Jun 2017 17:06:40 +0000 (10:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 15:19:42 +0000 (17:19 +0200)
commit2e252fbf777d3b1250b63a5bf45e2ac1932687d3
treea4445b522f775352a6012329d0fc7fcad4e041a6
parent15e1674de747d58c5a6154ba6e85bc61e5009b08
x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set

Code is arch/x86/hyperv/ is only needed when CONFIG_HYPERV is set, the
'basic' support and detection lives in arch/x86/kernel/cpu/mshyperv.c
which is included when CONFIG_HYPERVISOR_GUEST is set.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/Kbuild
arch/x86/include/asm/mshyperv.h