aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm34xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r--arch/arm/mach-omap2/pm34xx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 3d6a00e07a5..93e78a3dbc1 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -29,6 +29,7 @@
29#include <linux/delay.h> 29#include <linux/delay.h>
30#include <linux/slab.h> 30#include <linux/slab.h>
31#include <linux/console.h> 31#include <linux/console.h>
32#include <trace/events/power.h>
32 33
33#include <plat/sram.h> 34#include <plat/sram.h>
34#include "clockdomain.h" 35#include "clockdomain.h"
@@ -519,8 +520,14 @@ static void omap3_pm_idle(void)
519 if (omap_irq_pending() || need_resched()) 520 if (omap_irq_pending() || need_resched())
520 goto out; 521 goto out;
521 522
523 trace_power_start(POWER_CSTATE, 1, smp_processor_id());
524 trace_cpu_idle(1, smp_processor_id());
525
522 omap_sram_idle(); 526 omap_sram_idle();
523 527
528 trace_power_end(smp_processor_id());
529 trace_cpu_idle(PWR_EVENT_EXIT, smp_processor_id());
530
524out: 531out:
525 local_fiq_enable(); 532 local_fiq_enable();
526 local_irq_enable(); 533 local_irq_enable();