aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2013-10-15 15:31:51 +0200
committerIngo Molnar <[email protected]>2013-10-16 08:30:03 +0200
commit4a7d3e8a9939cf8073c247286d81cbe0ae48eba2 (patch)
tree949fa1f0b0cdfa3f4cbc42f1448c1c7a4ee9a3a1 /tools/perf/util/trace-event-scripting.c
parent2cb763614c1c5baef58045af9304265075f22d0a (diff)
clocksource: arch_timer: Do not register arch_sys_counter twice
Commit: 65cd4f6 ("arch_timer: Move to generic sched_clock framework") added code to register the arch_sys_counter in arch_timer_register(), but it is already registered in arch_counter_register(). This results in the timer being added to the clocksource list twice, therefore causing an infinite loop in the list. Remove the duplicate registration and register the scheduler clock after the original registration instead. This fixes a hang during boot on Tegra114 (Cortex-A15). [ While I've only tested this on Tegra114, I suspect the same hang during boot happens for all processors that use this clock source. ] Signed-off-by: Thierry Reding <[email protected]> Acked-by: John Stultz <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Will Deacon <[email protected]> Cc: Stephen Warren <[email protected]> Cc: [email protected] Cc: Daniel Lezcano <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions