x86/Hyper-V/hv_apic: Include asm/apic.h

Not all configurations magically include asm/apic.h, but the Hyper-V code
requires it. Include it explicitely.

Fixes: 6b48cb5f83 ("X86/Hyper-V: Enlighten APIC access")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Michael Kelley <mikelley@microsoft.com>
This commit is contained in:
Thomas Gleixner 2018-05-19 16:38:59 +02:00
parent 9a2d78e291
commit 61eeb1f6d1
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#include <linux/cpuhotplug.h> #include <linux/cpuhotplug.h>
#include <asm/hypervisor.h> #include <asm/hypervisor.h>
#include <asm/mshyperv.h> #include <asm/mshyperv.h>
#include <asm/apic.h>
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
#if IS_ENABLED(CONFIG_HYPERV) #if IS_ENABLED(CONFIG_HYPERV)