diff --git a/[refs] b/[refs] index 679661385ce3..e1d4c1f2e24f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c838abc511ed710bdc2d93e0d8b5449be953849e +refs/heads/master: 6d8c2873e06626c371bdedd5e00b00a60d3fde41 diff --git a/trunk/arch/mips/oprofile/op_model_loongson2.c b/trunk/arch/mips/oprofile/op_model_loongson2.c index 596fb0817578..deefcee69a69 100644 --- a/trunk/arch/mips/oprofile/op_model_loongson2.c +++ b/trunk/arch/mips/oprofile/op_model_loongson2.c @@ -88,10 +88,7 @@ static void loongson2_reg_setup(struct op_counter_config *cfg) static void loongson2_cpu_setup(void *args) { - uint64_t perfcount; - - perfcount = (reg.reset_counter2 << 32) | reg.reset_counter1; - write_c0_perfcnt(perfcount); + write_c0_perfcnt((reg.reset_counter2 << 32) | reg.reset_counter1); } static void loongson2_cpu_start(void *args)