MIPS: Oprofile: Loongson: Cleanup of the macros
authorWu Zhangjin <wuzhangjin@gmail.com>
Thu, 6 May 2010 17:29:47 +0000 (01:29 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 21 May 2010 20:31:19 +0000 (21:31 +0100)
commit852151bdb992874b3d625444a8c7c551f3a738b5
tree8ad2e932119a9d20d9cc86242290d2ddfa0e555e
parent6d8c2873e06626c371bdedd5e00b00a60d3fde41
MIPS: Oprofile: Loongson: Cleanup of the macros

The _EXL, _KERNEL etc. bits are in the performance control register so
use _PERFCTRL prefix instead of _PERFCNT.  While at it make the macro
more readable, use _ENABLE instead of _INT_EN suffix to describe the
interrupt enable bit.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1203/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/op_model_loongson2.c