]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Remove .fixup usage
authorPeter Zijlstra <peterz@infradead.org>
Wed, 10 Nov 2021 10:01:14 +0000 (11:01 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 11 Dec 2021 08:09:48 +0000 (09:09 +0100)
commitace8aef7ce20f3b0f9014146dbfcf4d9ba98b9ed
treeccccaaac0f47bd5da646ed43664c7c1c513d4d9a
parent3bfd5b5d056216e1b49775916040c80d3f22f27e
x86/fpu: Remove .fixup usage

Employ EX_TYPE_EFAULT_REG to store '-EFAULT' into the %[err] register
on exception. All the callers only ever test for 0, so the change
from -1 to -EFAULT is immaterial.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20211110101325.604494664@infradead.org
arch/x86/kernel/fpu/legacy.h
arch/x86/kernel/fpu/xstate.h