diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-06-23 14:01:43 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-06-23 17:49:47 +0200 |
commit | adc997b3d66d1cfa8c15a7dbafdaef239a51b5db (patch) | |
tree | 0606a36b68d671b03ecb1cf694a4e3d3d1743618 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | eb6f51723f03c9a1c098ed196a31a03e626b9fb6 (diff) |
x86/fpu: Use copy_xstate_to_uabi_buf() in xfpregs_get()
Use the new functionality of copy_xstate_to_uabi_buf() to retrieve the
FX state when XSAVE* is in use. This avoids overwriting 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/20210623121452.901736860@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions