x86/Hyper-V/hv_apic: Include asm/apic.h
authorThomas Gleixner <tglx@linutronix.de>
Sat, 19 May 2018 14:38:59 +0000 (16:38 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 May 2018 14:41:59 +0000 (16:41 +0200)
Not all configurations magically include asm/apic.h, but the Hyper-V code
requires it. Include it explicitely.

Fixes: 6b48cb5f8347 ("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>
arch/x86/hyperv/hv_apic.c

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