Просмотр исходного кода

ARM: OMAP2+: PM: Denote the cpuidle tracepoints as _rcuidle()

The cpuidle tracepoints are called within a rcu_idle_exit() section, and
must be denoted with the _rcuidle() version of the tracepoint.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Jisheng Zhang 10 лет назад
Родитель
Сommit
6ca22700eb
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      arch/arm/mach-omap2/pm34xx.c

+ 2 - 2
arch/arm/mach-omap2/pm34xx.c

@@ -301,11 +301,11 @@ static void omap3_pm_idle(void)
 	if (omap_irq_pending())
 		return;
 
-	trace_cpu_idle(1, smp_processor_id());
+	trace_cpu_idle_rcuidle(1, smp_processor_id());
 
 	omap_sram_idle();
 
-	trace_cpu_idle(PWR_EVENT_EXIT, smp_processor_id());
+	trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id());
 }
 
 #ifdef CONFIG_SUSPEND