summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/fpu/internal.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-06-23 15:01:44 +0300
committerBorislav Petkov <bp@suse.de>2021-06-23 18:49:47 +0300
commit3f7f75634ccefefcc929696f346db7a748e78f79 (patch)
tree777eae2ecb9d67f1d468532794ddf565a7e5cafd /arch/x86/include/asm/fpu/internal.h
parentadc997b3d66d1cfa8c15a7dbafdaef239a51b5db (diff)
downloadlinux-3f7f75634ccefefcc929696f346db7a748e78f79.tar.xz
x86/fpu: Use copy_xstate_to_uabi_buf() in fpregs_get()
Use the new functionality of copy_xstate_to_uabi_buf() to retrieve the FX state when XSAVE* is in use. This avoids to overwrite the FPU state buffer with fpstate_sanitize_xstate() which is error prone and duplicated code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210623121453.014441775@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/fpu/internal.h')
0 files changed, 0 insertions, 0 deletions