]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Simplify FP context access
authorPaul Burton <paul.burton@imgtec.com>
Thu, 13 Feb 2014 11:26:41 +0000 (11:26 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:09 +0000 (23:09 +0100)
commitd42d237adcfe530fd468253a56b7c8f8e9a39bfe
tree66cc94a921b0342a4a412646d549562a578fc257
parentc86f9540d9795490e6543f275956e50a37e27bfb
MIPS: Simplify FP context access

This patch replaces the fpureg_t typedef with a "union fpureg" enabling
easier access to 32 & 64 bit values. This allows the access macros used
in cp1emu.c to be simplified somewhat. It will also make it easier to
expand the width of the FP registers as will be done in a future
patch in order to support the 128 bit registers introduced with MSA.

No behavioural change is intended by this patch.

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/6532/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/fpu.h
arch/mips/include/asm/processor.h
arch/mips/kernel/ptrace.c
arch/mips/kernel/ptrace32.c
arch/mips/math-emu/cp1emu.c
arch/mips/math-emu/kernel_linkage.c