diff options
author | Peter De Schrijver <pdeschrijver@nvidia.com> | 2012-07-23 17:03:38 +0300 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-02 15:32:59 -0700 |
commit | 6815f8b3ca94241138f4f2dc43f63e1861b0a69c (patch) | |
tree | 2828ca72e3edac1fda0782aedab7a617e5e7c777 /arch/arm/mach-tegra | |
parent | b6324ddb32c33a98434d2f318a7a1482b1f9c542 (diff) |
ARM: tegra: remove trace_power_start calls
These calls are now done by the cpuidle framework in cpuidle_idle_call(). They
would also need to be replaced by trace_power_start_rcuidle because otherwise
the rcu_read_lock()s that protect the tracepoint will not be honored.
Change-Id: I7115fc4e69a499ed9a056cbd13bfe9e19892ceba
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117692
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle-t3.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-tegra/cpuidle.c | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/cpuidle-t3.c b/arch/arm/mach-tegra/cpuidle-t3.c index b215b3e57749..09c79f047af3 100644 --- a/arch/arm/mach-tegra/cpuidle-t3.c +++ b/arch/arm/mach-tegra/cpuidle-t3.c @@ -283,7 +283,6 @@ static bool tegra3_idle_enter_lp2_cpu_0(struct cpuidle_device *dev, idle_stats.lp2_count++; idle_stats.lp2_count_bin[bin]++; - trace_power_start(POWER_CSTATE, 2, dev->cpu); clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &dev->cpu); if (!is_lp_cluster()) { tegra_dvfs_rail_off(tegra_cpu_rail, entry_time); @@ -442,8 +441,6 @@ static bool tegra3_idle_enter_lp2_cpu_n(struct cpuidle_device *dev, #endif idle_stats.tear_down_count[cpu_number(dev->cpu)]++; - trace_power_start(POWER_CSTATE, 2, dev->cpu); - entry_time = ktime_get(); /* Save time this CPU must be awakened by. */ diff --git a/arch/arm/mach-tegra/cpuidle.c b/arch/arm/mach-tegra/cpuidle.c index 503444647a33..9178d65b02d0 100644 --- a/arch/arm/mach-tegra/cpuidle.c +++ b/arch/arm/mach-tegra/cpuidle.c @@ -71,8 +71,6 @@ static int tegra_idle_enter_lp3(struct cpuidle_device *dev, ktime_t enter, exit; s64 us; - trace_power_start(POWER_CSTATE, 1, dev->cpu); - local_irq_disable(); local_fiq_disable(); |