commit | 49e4eb4125d506937e52e10c34c8cafd93ab0ed6 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Oct 13 16:55:55 2021 +0200 |
committer | Borislav Petkov <bp@suse.de> | Thu Oct 21 14:24:14 2021 +0200 |
tree | 1fa7ef4a7fe827c6da8793fc9ba3ea84d7f592bd | |
parent | 3ac8d75778fc8c1c22daad9bc674166b862f6f6e [diff] |
x86/fpu/xstate: Use fpstate for copy_uabi_to_xstate() Prepare for dynamically enabled states per task. The function needs to retrieve the features and sizes which are valid in a fpstate context. Retrieve them from fpstate. Move the function declarations to the core header as they are not required anywhere else. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211013145323.233529986@linutronix.de