The copy_xregs_to_kernel*() and copy_kernel_to_xregs*() functions are used
to copy FPU registers to kernel memory and vice versa.
They are never expected to fail, yet they have a return code, mostly because
that way they can share the assembly macros with the copy*user*() functions.
This error code is then silently ignored by the context switching
and other code - which made the bug in:
|
||
---|---|---|
.. | ||
api.h | ||
internal.h | ||
regset.h | ||
signal.h | ||
types.h | ||
xstate.h |