From: Paul Burton Date: Tue, 19 Nov 2013 17:30:35 +0000 (+0000) Subject: MIPS: Simplify PTRACE_PEEKUSR for FPC_EIR X-Git-Tag: v3.15-rc1~125^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3351047f01fe012abbb585b400d1c51b57ed011d;p=pandora-kernel.git MIPS: Simplify PTRACE_PEEKUSR for FPC_EIR All architecturally defined bits in the FPU implementation register are read only & unchanging. It contains some implementation-defined bits but the architecture manual states "This bits are explicitly not intended to be used for mode control functions" which seems to provide justification for viewing the register as a whole as unchanging. This being the case we can simply re-use the value we read at boot rather than having to re-read it later, and avoid the complexity which that read entails. Signed-off-by: Paul Burton Reviewed-by: Qais Yousef Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6144/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed