mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-08 20:40:24 +00:00
![Wu Zhangjin](/assets/img/avatar_default.png)
When exiting from loongson2_exit(), we need to reset the counter register too, this patch adds a function reset_counters() to do it, by the way, this function will be shared by Perf. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1199/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>