From: Wu Zhangjin Date: Thu, 6 May 2010 17:03:49 +0000 (+0800) Subject: MIPS: Oprofile: Fixup of loongson2_exit() X-Git-Tag: v2.6.35-rc5~20^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d84267480ce8cf9943b79b70da86ddb3f95e3dd;p=pandora-kernel.git 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 Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1199/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed