x86/fpu/regset: Move fpu__read_begin() into regset

The function can only be used from the regset get() callbacks safely. So
there is no reason to have it globally exposed.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210623121453.234942936@linutronix.de
This commit is contained in:
Thomas Gleixner 2021-06-23 14:01:46 +02:00 • committed by Borislav Petkov
commit 5a32fac8db
3 changed files with 19 additions and 24 deletions