Re: [patch 28/31] x86/sev: Include fpu/xcr.h

From: Xiaoyao Li
Date: Tue Oct 12 2021 - 03:24:44 EST


On 10/12/2021 8:00 AM, Thomas Gleixner wrote:
Include the header which only provides the XRC accessors. That's all what
^
typo, should be XCR

is needed here.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
arch/x86/kernel/sev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 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>