diff options
author | David Rientjes <rientjes@google.com> | 2013-10-11 19:07:31 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-10-30 18:37:47 -0400 |
commit | d68ce0177c1e51fb332369e0c99852a6d05668af (patch) | |
tree | 1822971446f5325fea2e3e7ff4a7ffabfd8471f2 /arch | |
parent | 90ab9d5510932e146a9443bf5a591f95d5b5ada8 (diff) |
x86, hyperv: Fix build error due to missing <asm/apic.h> include
9e7827b5ea4c ("x86, hyperv: Get the local APIC timer frequency from the
hypervisor") breaks the build with some configs because apic.h isn't
directly included:
arch/x86/kernel/cpu/mshyperv.c: In function 'ms_hyperv_init_platform':
arch/x86/kernel/cpu/mshyperv.c:90:3: error: 'lapic_timer_frequency' undeclared (first use in this function)
arch/x86/kernel/cpu/mshyperv.c:90:3: note: each undeclared identifier is reported only once for each function it appears in
Fix it by including asm/apic.h.
Signed-off-by: David Rientjes <rientjes@google.com>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1310111604160.31170@chino.kir.corp.google.com
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/mshyperv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index 628ff50ab75f..9f6e9f89d9d6 100644 --- a/arch/x86/kernel/cpu/mshyperv.c +++ b/arch/x86/kernel/cpu/mshyperv.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <asm/idle.h> | 25 | #include <asm/idle.h> |
26 | #include <asm/irq_regs.h> | 26 | #include <asm/irq_regs.h> |
27 | #include <asm/i8259.h> | 27 | #include <asm/i8259.h> |
28 | #include <asm/apic.h> | ||
28 | 29 | ||
29 | struct ms_hyperv_info ms_hyperv; | 30 | struct ms_hyperv_info ms_hyperv; |
30 | EXPORT_SYMBOL_GPL(ms_hyperv); | 31 | EXPORT_SYMBOL_GPL(ms_hyperv); |