Skip to content

Commit

Permalink
x86/Hyper-V/hv_apic: Include asm/apic.h
Browse files Browse the repository at this point in the history
Not all configurations magically include asm/apic.h, but the Hyper-V code
requires it. Include it explicitely.

Fixes: 6b48cb5 ("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>
  • Loading branch information
Thomas Gleixner committed May 19, 2018
1 parent 9a2d78e commit 61eeb1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/hyperv/hv_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 61eeb1f

Please sign in to comment.