Skip to content

Commit

Permalink
MIPS: Oprofile: Loongson: Remove useless parentheses
Browse files Browse the repository at this point in the history
Signed-off-by: Wu Zhangjin <[email protected]>
Cc: [email protected]
Patchwork: http://patchwork.linux-mips.org/patch/1201/
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
lzufalcon authored and ralfbaechle committed May 21, 2010
1 parent 86e5a52 commit c838abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/oprofile/op_model_loongson2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c838abc

Please sign in to comment.