ARM: OMAP2+: PM: Denote the cpuidle tracepoints as _rcuidle()
PATCH RESEND 1/1 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 <[email protected]>
Acked-by Kevin Hilman <[email protected]>
--- arch/arm/mach-omap2/pm34xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/pm34xx.c +2 -2
@@ -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
Signature · 1 line
2.6.2
Tony Lindgren
maintainerQuoted 5 lines · Jisheng Zhang
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 <[email protected]>Acked-by Kevin Hilman <[email protected]>
Sorry I have this in my omap-for-v4.4/fixes but have not sent out pull request yet. Hoping to send it today or on Friday.
Regards,
Tony
Quoted 25 lines
--- arch/arm/mach-omap2/pm34xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm/mach-omap2/pm34xx.c +2
-2@@ -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 Signature · 1 line
2.6.2