aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAndreas Larsson <andreas@gaisler.com>2014-08-29 11:09:18 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-09 19:39:10 -0400
commit384859d2af8ead22c9e5a570a4ab89f1b563c8e5 (patch)
tree753e436fd62f5eae28fdc099d2d6a5d7e9ba6c46 /tools/perf/util/scripting-engines/trace-event-python.c
parent74cad25c076a2f5253312c2fe82d1a4daecc1323 (diff)
sparc: leon: Fix race condition between leon_cycles_offset and timer_interrupt
This makes sure that leon_cycles_offset takes the pending bit into account and that leon_clear_clock_irq clears the pending bit. Otherwise, if leon_cycles_offset is executed after the timer has wrapped but before timer_interrupt has increased timer_cs_internal_counter, time can be perceived to go backwards. Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions