[tip: x86/cleanups] x86/entry/64: Do not include inst.h in calling.h
From: tip-bot2 for Uros Bizjak
Date: Fri Sep 04 2020 - 05:04:50 EST
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: eb3621798bcdd34ba480109bac357ba6a784d3e2
Gitweb: https://git.kernel.org/tip/eb3621798bcdd34ba480109bac357ba6a784d3e2
Author: Uros Bizjak <ubizjak@xxxxxxxxx>
AuthorDate: Thu, 27 Aug 2020 19:17:35 +02:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Fri, 04 Sep 2020 10:59:21 +02:00
x86/entry/64: Do not include inst.h in calling.h
inst.h was included in calling.h solely to instantiate the RDPID macro.
The usage of RDPID was removed in
6a3ea3e68b8a ("x86/entry/64: Do not use RDPID in paranoid entry to accomodate KVM")
so remove the include.
Fixes: 6a3ea3e68b8a ("x86/entry/64: Do not use RDPID in paranoid entry to accomodate KVM")
Signed-off-by: Uros Bizjak <ubizjak@xxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Link: https://lkml.kernel.org/r/20200827171735.93825-1-ubizjak@xxxxxxxxx
---
arch/x86/entry/calling.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h
index ae9b0d4..07a9331 100644
--- a/arch/x86/entry/calling.h
+++ b/arch/x86/entry/calling.h
@@ -6,7 +6,6 @@
#include <asm/percpu.h>
#include <asm/asm-offsets.h>
#include <asm/processor-flags.h>
-#include <asm/inst.h>
/*