aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/hyperv
diff options
context:
space:
mode:
authorThomas Gleixner2018-05-19 16:38:59 +0200
committerThomas Gleixner2018-05-19 16:41:59 +0200
commit61eeb1f6d1f2648a218855d7c8d44f16df242ef3 (patch)
treea25b9f287de8f9d61470601b2c878c654780961f /arch/x86/hyperv
parent9a2d78e291a7dea0ae4b4a06ce6bbbe4f1ab7c13 (diff)
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: 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>
Diffstat (limited to 'arch/x86/hyperv')
-rw-r--r--arch/x86/hyperv/hv_apic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/hyperv/hv_apic.c b/arch/x86/hyperv/hv_apic.c
index 192b6ad6a361..d3ff6e255924 100644
--- a/arch/x86/hyperv/hv_apic.c
+++ b/arch/x86/hyperv/hv_apic.c
@@ -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)