]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix delay slot emulation count in debugfs
authorPaul Burton <paul.burton@imgtec.com>
Thu, 22 Sep 2016 14:47:40 +0000 (15:47 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 24 Sep 2016 23:59:16 +0000 (01:59 +0200)
commit6ca46c27d915bf9d19a319ee78dcb97927c5ad18
tree1ae6cda95eddf35d3424b27d7f567b316804bf66
parent876d9308b313bdaea6a7b54273b61e4aa50202ca
MIPS: Fix delay slot emulation count in debugfs

Commit 26dd3bd5cfcc ("MIPS: Use per-mm page to execute branch delay slot
instructions") accidentally removed use of the MIPS_FPU_EMU_INC_STATS
macro from do_dsemulret, leading to the ds_emul file in debugfs always
returning zero even though we perform delay slot emulations.

Fix this by re-adding the use of the MIPS_FPU_EMU_INC_STATS macro.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Fixes: 26dd3bd5cfcc ("MIPS: Use per-mm page to execute branch delay slot instructions")
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14301/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/dsemul.c