diff options
Diffstat (limited to 'arch/mips')
-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) | |||
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) { |