diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-13 17:55:30 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-20 23:26:38 +0300 |
commit | 18b3fa1ad15fa8d777ac32f117553cce1a968460 (patch) | |
tree | 1f6794959abc457627190373074f30b05dafacd1 /arch/x86/include/asm | |
parent | f83ac56acdad0815366bb541b6cc9d24f6cea2b2 (diff) | |
download | linux-18b3fa1ad15fa8d777ac32f117553cce1a968460.tar.xz |
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
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/fpu/signal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fpu/signal.h b/arch/x86/include/asm/fpu/signal.h index 9a63a21c219d..22b0273a8bf1 100644 --- a/arch/x86/include/asm/fpu/signal.h +++ b/arch/x86/include/asm/fpu/signal.h @@ -40,7 +40,7 @@ extern bool copy_fpstate_to_sigframe(void __user *buf, void __user *fp, int size extern void fpu__clear_user_states(struct fpu *fpu); extern bool fpu__restore_sig(void __user *buf, int ia32_frame); -extern void restore_fpregs_from_fpstate(union fpregs_state *fpstate, u64 mask); +extern void restore_fpregs_from_fpstate(struct fpstate *fpstate, u64 mask); extern bool copy_fpstate_to_sigframe(void __user *buf, void __user *fp, int size); |