diff options
author | Paul Burton <paul.burton@imgtec.com> | 2013-11-19 18:30:35 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-03-31 18:17:12 +0200 |
commit | 3351047f01fe012abbb585b400d1c51b57ed011d (patch) | |
tree | 50e921b62fda46b18a9528f0e5b14a031afa168c /usr | |
parent | MIPS: Use current_cpu_type() instead of c->cputype (diff) | |
download | linux-3351047f01fe012abbb585b400d1c51b57ed011d.tar.xz linux-3351047f01fe012abbb585b400d1c51b57ed011d.zip |
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 <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/6144/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions