summaryrefslogtreecommitdiffstats
path: root/arch/mips/oprofile
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2010-05-07 01:29:45 +0800
committerRalf Baechle <ralf@linux-mips.org>2010-05-21 21:31:18 +0100
commitc838abc511ed710bdc2d93e0d8b5449be953849e (patch)
treea321ab2287acf36323f2c33eb4146a5a8a46b865 /arch/mips/oprofile
parent86e5a5202148736bffed49499a1dc8c1a311d3ab (diff)
downloadblackbird-op-linux-c838abc511ed710bdc2d93e0d8b5449be953849e.tar.gz
blackbird-op-linux-c838abc511ed710bdc2d93e0d8b5449be953849e.zip
MIPS: Oprofile: Loongson: Remove useless parentheses
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1201/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/oprofile')
-rw-r--r--arch/mips/oprofile/op_model_loongson2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/oprofile/op_model_loongson2.c b/arch/mips/oprofile/op_model_loongson2.c
index 93d8b7deb91d..596fb0817578 100644
--- a/arch/mips/oprofile/op_model_loongson2.c
+++ b/arch/mips/oprofile/op_model_loongson2.c
@@ -66,7 +66,7 @@ static void loongson2_reg_setup(struct op_counter_config *cfg)
if (cfg[1].enabled) {
ctrl |= LOONGSON2_PERFCTRL_EVENT(1, cfg[1].event);
- reg.reset_counter2 = (0x80000000ULL - cfg[1].count);
+ reg.reset_counter2 = 0x80000000ULL - cfg[1].count;
}
if (cfg[0].enabled || cfg[1].enabled) {
OpenPOWER on IntegriCloud