MIPS: Move & rename fpu_emulator_{save,restore}_context
authorPaul Burton <paul.burton@imgtec.com>
Mon, 27 Jan 2014 15:23:02 +0000 (15:23 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:09 +0000 (23:09 +0100)
commitb2ead528288545859dbd7004e07bc23204cf92a8
treed01478041879e4d01aef8e1b544575428000caa5
parente87ce9482287c396c0804e4ec3a3fc63b1ff7ac0
MIPS: Move & rename fpu_emulator_{save,restore}_context

These functions aren't directly related to the FPU emulator at all, they
simply copy between a thread's saved context & a sigcontext. Thus move
them to the appropriate signal files & rename them accordingly. This
makes it clearer that the functions don't require the FPU emulator in
any way.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6422/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/signal.c
arch/mips/kernel/signal32.c
arch/mips/math-emu/kernel_linkage.c