commit | 1d84267480ce8cf9943b79b70da86ddb3f95e3dd | [log] [tgz] |
---|---|---|
author | Wu Zhangjin <wuzhangjin@gmail.com> | Fri May 07 01:03:49 2010 +0800 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon Jul 05 17:17:31 2010 +0100 |
tree | 6032d06980f11251b50cb44adb2846baf34d39f5 | |
parent | 2e93d1ec080e4b21a34869129bda73f24ebb8950 [diff] |
MIPS: Oprofile: Fixup of loongson2_exit() 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>