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

Xiaoyao Li
2021-10-12T07:24:43Z

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@linutronix.de>
> ---
> 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>
>