x86/fpu/signal: Split out the direct restore code
authorThomas Gleixner <tglx@linutronix.de>
Wed, 23 Jun 2021 12:02:29 +0000 (14:02 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 23 Jun 2021 18:03:44 +0000 (20:03 +0200)
commit0a6c2e9ec91c96bde1e8ce063180ac6e05e680f7
tree5a089dad3c27d357b74d28110219f0b3994d7783
parentcdcec1b77001e7f2cd10dccfc6d9b6d5d3f1f3ea
x86/fpu/signal: Split out the direct restore code

Prepare for smarter failure handling of the direct restore.

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