2021-10-15 10:21:03

by Thomas Gleixner

[permalink] [raw]
Subject: [patch V2 27/30] x86/sev: Include fpu/xcr.h

Include the header which only provides the XCR accessors. That's all what
is needed here.

Signed-off-by: Thomas Gleixner <[email protected]>
---
V2: s/XRC/XCR/ - Xiaoyao Li
---
arch/x86/kernel/sev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/arch/x86/kernel/sev.c b/arch/x86/kernel/sev.c
index a6895e440bc3..50c773c3384c 100644
--- a/arch/x86/kernel/sev.c
+++ b/arch/x86/kernel/sev.c
@@ -23,7 +23,7 @@
#include <asm/stacktrace.h>
#include <asm/sev.h>
#include <asm/insn-eval.h>
-#include <asm/fpu/internal.h>
+#include <asm/fpu/xcr.h>
#include <asm/processor.h>
#include <asm/realmode.h>
#include <asm/traps.h>


Subject: [tip: x86/fpu] x86/sev: Include fpu/xcr.h

The following commit has been merged into the x86/fpu branch of tip:

Commit-ID: ff0c37e191f2629bf2776dbd95db5d06f704ab93
Gitweb: https://git.kernel.org/tip/ff0c37e191f2629bf2776dbd95db5d06f704ab93
Author: Thomas Gleixner <[email protected]>
AuthorDate: Fri, 15 Oct 2021 03:16:36 +02:00
Committer: Borislav Petkov <[email protected]>
CommitterDate: Wed, 20 Oct 2021 15:27:29 +02:00

x86/sev: Include fpu/xcr.h

Include the header which only provides the XCR accessors. That's all what
is needed here.

Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
---
arch/x86/kernel/sev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/sev.c b/arch/x86/kernel/sev.c
index a6895e4..50c773c 100644
--- a/arch/x86/kernel/sev.c
+++ b/arch/x86/kernel/sev.c
@@ -23,7 +23,7 @@
#include <asm/stacktrace.h>
#include <asm/sev.h>
#include <asm/insn-eval.h>
-#include <asm/fpu/internal.h>
+#include <asm/fpu/xcr.h>
#include <asm/processor.h>
#include <asm/realmode.h>
#include <asm/traps.h>