diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-01-30 09:08:43 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-04-04 13:25:34 (GMT) |
commit | 3d50a7fb42992545e45e10b068406546ea699489 (patch) | |
tree | 377a54dd0c80f3f287e4463d3ea9577866384cfa /kernel/kexec.c | |
parent | 6870e707c6d934329872eadc77a7d2d07586e36c (diff) | |
download | linux-3d50a7fb42992545e45e10b068406546ea699489.tar.xz |
MIPS: traps.c: Verify the ISA for microMIPS RDHWR emulation
Make sure it's the microMIPS rather than MIPS16 ISA before emulating
microMIPS RDHWR. Mostly needed as an optimisation for configurations
where `cpu_has_mmips' is hardcoded to 0 and also a good measure in case
we add further microMIPS instructions to emulate in the future, as the
corresponding MIPS16 encoding is ADDIUSP, not supposed to trap.
Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12282/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions