aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2010-05-06 13:29:45 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-05-21 16:31:18 -0400
commitc838abc511ed710bdc2d93e0d8b5449be953849e (patch)
treea321ab2287acf36323f2c33eb4146a5a8a46b865 /arch/mips
parent86e5a5202148736bffed49499a1dc8c1a311d3ab (diff)
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')
-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)
66 66
67 if (cfg[1].enabled) { 67 if (cfg[1].enabled) {
68 ctrl |= LOONGSON2_PERFCTRL_EVENT(1, cfg[1].event); 68 ctrl |= LOONGSON2_PERFCTRL_EVENT(1, cfg[1].event);
69 reg.reset_counter2 = (0x80000000ULL - cfg[1].count); 69 reg.reset_counter2 = 0x80000000ULL - cfg[1].count;
70 } 70 }
71 71
72 if (cfg[0].enabled || cfg[1].enabled) { 72 if (cfg[0].enabled || cfg[1].enabled) {