summaryrefslogtreecommitdiff
path: root/arch/x86/coco/sev/vc-handle.c
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwi@linutronix.de>2025-05-08 17:02:31 +0200
committerIngo Molnar <mingo@kernel.org>2025-05-15 18:23:55 +0200
commit968e3000680713f712bcf02c51c4d7bb7d4d7685 (patch)
treeec236b2718aacda9dfa80f8f43310686cf3726e5 /arch/x86/coco/sev/vc-handle.c
parentcdc8be31cb324a0c52529f192e39a44abcfff513 (diff)
x86/cpuid: Set <asm/cpuid/api.h> as the main CPUID header
The main CPUID header <asm/cpuid.h> was originally a storefront for the headers: <asm/cpuid/api.h> <asm/cpuid/leaf_0x2_api.h> Now that the latter CPUID(0x2) header has been merged into the former, there is no practical difference between <asm/cpuid.h> and <asm/cpuid/api.h>. Migrate all users to the <asm/cpuid/api.h> header, in preparation of the removal of <asm/cpuid.h>. Don't remove <asm/cpuid.h> just yet, in case some new code in -next started using it. Suggested-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Andrew Cooper <andrew.cooper3@citrix.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: John Ogness <john.ogness@linutronix.de> Cc: x86-cpuid@lists.linux.dev Link: https://lore.kernel.org/r/20250508150240.172915-3-darwi@linutronix.de
Diffstat (limited to 'arch/x86/coco/sev/vc-handle.c')
-rw-r--r--arch/x86/coco/sev/vc-handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/coco/sev/vc-handle.c b/arch/x86/coco/sev/vc-handle.c
index b4895c648024..0989d98da130 100644
--- a/arch/x86/coco/sev/vc-handle.c
+++ b/arch/x86/coco/sev/vc-handle.c
@@ -32,7 +32,7 @@
#include <asm/smp.h>
#include <asm/cpu.h>
#include <asm/apic.h>
-#include <asm/cpuid.h>
+#include <asm/cpuid/api.h>
static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt,
unsigned long vaddr, phys_addr_t *paddr)