Loading arch/powerpc/oprofile/op_model_cell.c +11 −13 Original line number Diff line number Diff line Loading @@ -658,9 +658,8 @@ static void spu_evnt_swap(unsigned long data) */ ret = pm_rtas_activate_signals(cbe_cpu_to_node(cpu), 3); if (ret) printk(KERN_ERR "%s: pm_rtas_activate_signals failed, SPU event swap\n", __func__); printk(KERN_ERR "%s: pm_rtas_activate_signals failed, " "SPU event swap\n", __func__); /* clear the trace buffer, don't want to take PC for * previous SPU*/ Loading Loading @@ -1422,8 +1421,7 @@ static int cell_global_start_ppu(struct op_counter_config *ctr) if (ctr_enabled & (1 << i)) { cbe_write_ctr(cpu, i, reset_value[i]); enable_ctr(cpu, i, pm_regs.pm07_cntrl); interrupt_mask |= CBE_PM_CTR_OVERFLOW_INTR(i); interrupt_mask |= CBE_PM_CTR_OVERFLOW_INTR(i); } else { /* Disable counter */ cbe_write_pm07_control(cpu, i, 0); Loading Loading
arch/powerpc/oprofile/op_model_cell.c +11 −13 Original line number Diff line number Diff line Loading @@ -658,9 +658,8 @@ static void spu_evnt_swap(unsigned long data) */ ret = pm_rtas_activate_signals(cbe_cpu_to_node(cpu), 3); if (ret) printk(KERN_ERR "%s: pm_rtas_activate_signals failed, SPU event swap\n", __func__); printk(KERN_ERR "%s: pm_rtas_activate_signals failed, " "SPU event swap\n", __func__); /* clear the trace buffer, don't want to take PC for * previous SPU*/ Loading Loading @@ -1422,8 +1421,7 @@ static int cell_global_start_ppu(struct op_counter_config *ctr) if (ctr_enabled & (1 << i)) { cbe_write_ctr(cpu, i, reset_value[i]); enable_ctr(cpu, i, pm_regs.pm07_cntrl); interrupt_mask |= CBE_PM_CTR_OVERFLOW_INTR(i); interrupt_mask |= CBE_PM_CTR_OVERFLOW_INTR(i); } else { /* Disable counter */ cbe_write_pm07_control(cpu, i, 0); Loading