x86/fpu/signal: Move header zeroing out of xsave_to_user_sigframe()

There is no reason to have the header zeroing in the pagefault disabled
region. Do it upfront once.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210908132525.621674721@linutronix.de
This commit is contained in:
Thomas Gleixner 2021-09-08 15:29:29 +02:00 • committed by Borislav Petkov
commit 4164a482a5
2 changed files with 18 additions and 11 deletions