x86/fpu: Convert restore_fpregs_from_fpstate() to struct fpstate

Convert restore_fpregs_from_fpstate() and related code to the new
register storage mechanism in preparation for dynamically sized buffers.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211013145322.347395546@linutronix.de
This commit is contained in:
Thomas Gleixner 2021-10-13 16:55:30 +02:00 • committed by Borislav Petkov
commit 18b3fa1ad1
3 changed files with 8 additions and 8 deletions