OSDN Git Service

x86/fpu: Convert fpstate_init() to struct fpstate
authorThomas Gleixner <tglx@linutronix.de>
Wed, 13 Oct 2021 14:55:28 +0000 (16:55 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 20 Oct 2021 20:26:34 +0000 (22:26 +0200)
commitf83ac56acdad0815366bb541b6cc9d24f6cea2b2
tree9888227f19c8309532cd7b4257055d516948539e
parent87d0e5be0fac322f4415128def9f16a71a267a40
x86/fpu: Convert fpstate_init() to struct fpstate

Convert fpstate_init() 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.292157401@linutronix.de
arch/x86/kernel/fpu/core.c
arch/x86/kernel/fpu/internal.h
arch/x86/kernel/fpu/signal.c
arch/x86/kernel/fpu/xstate.c