aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/fpu/legacy.h
AgeCommit message (Collapse)AuthorFilesLines
2021-12-11x86/fpu: Remove .fixup usagePeter Zijlstra1-5/+1
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) <[email protected]> Reviewed-by: Josh Poimboeuf <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2021-10-20x86/fpu: Move mxcsr related code to coreThomas Gleixner1-0/+7
No need to expose that to code which only needs the XCR0 accessors. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
2021-10-20x86/fpu: Move legacy ASM wrappers to coreThomas Gleixner1-0/+108
Nothing outside the core code requires them. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]