diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-05-06 19:29:45 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-05-21 22:31:18 +0200 |
commit | c838abc511ed710bdc2d93e0d8b5449be953849e (patch) | |
tree | a321ab2287acf36323f2c33eb4146a5a8a46b865 /arch/mips/oprofile/op_model_loongson2.c | |
parent | MIPS: Oprofile: Loongson: Unify macro for setting events (diff) | |
download | linux-c838abc511ed710bdc2d93e0d8b5449be953849e.tar.xz 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/op_model_loongson2.c')
-rw-r--r-- | arch/mips/oprofile/op_model_loongson2.c | 2 |
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) { |