]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu/xstate: Use fpstate for xsave_to_user_sigframe()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 13 Oct 2021 14:55:51 +0000 (16:55 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 21 Oct 2021 12:04:46 +0000 (14:04 +0200)
commit77ab9e4bab070f8906b8084604f144a7e5d49582
tree13cc19b2949c01bb763defda7879ba56e448df13
parent90efde47242623db85b7d496d1e461b9dfab811d
x86/fpu/xstate: Use fpstate for xsave_to_user_sigframe()

With dynamically enabled features the sigframe code must know the features
which are enabled for the task. Get them from fpstate.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211013145323.077781448@linutronix.de
arch/x86/kernel/fpu/xstate.h