x86/fpu: Simplify kernel_fpu_end()
authorChristoph Hellwig <hch@lst.de>
Tue, 4 Jun 2019 07:15:22 +0000 (09:15 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 17 Jun 2019 08:43:43 +0000 (10:43 +0200)
commitb78ea19ac22fd7b32d7828066cce3d8f2db5226a
tree4c1d97e953425aa498081079a9f6be364a6cee3c
parent9e0babf2c06c73cda2c0cd37a1653d823adb40ec
x86/fpu: Simplify kernel_fpu_end()

Remove two little helpers and merge them into kernel_fpu_end() to
streamline the function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Nicolai Stange <nstange@suse.de>
Cc: Rik van Riel <riel@surriel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20190604071524.12835-2-hch@lst.de
arch/x86/kernel/fpu/core.c