Skip to contentSkip to conversation

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

tip:x86/hyperv KY Srinivasan 1 participant 1 message May 20, 2018 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 24 lines

-----Original Message-----
From: tip tree robot <[email protected]>
Sent: Saturday, May 19, 2018 7:46 AM
To: [email protected]
Cc: [email protected]; Michael Kelley (EOSG) <[email protected]>; KY Srinivasan <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: [tip:x86/hyperv] x86/Hyper-V/hv_apic: Include asm/apic.h

Commit-ID: 61eeb1f6d1f2648a218855d7c8d44f16df242ef3 Gitweb:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.ker
nel.org%2Ftip%2F61eeb1f6d1f2648a218855d7c8d44f16df242ef3&data=02%7 C01%7Ckys%40microsoft.com%7C9469b1fea91344d65b9f08d5bd973c7c%7C7 2f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636623379628726325&sdat a=mbprYiPRtCsbYHGm%2BMsmUUt4MGGMFloyTN5Y40JrnKg%3D&reserved =0

Author:     Thomas Gleixner <[email protected]>
AuthorDate: Sat, 19 May 2018 16:38:59 +0200
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Sat, 19 May 2018 16:41:59 +0200
Quoted 4 lines

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.

Thanks Thomas. I was planning to send this patch today after I saw the kbuild robot mail.

Regards,

K. Y

Quoted 22 lines
Fixes 6b48cb5f8347 ("X86/Hyper-V: Enlighten APIC access")
Cc K. Y. Srinivasan <[email protected]>
Cc Michael Kelley <[email protected]>
---
 arch/x86/hyperv/hv_apic.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/hyperv/hv_apic.c +1 -0
index 192b6ad6a361..d3ff6e255924 100644
@@ -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)