summaryrefslogtreecommitdiffstats
path: root/net/ax25
diff options
context:
space:
mode:
authorAndreas Larsson <andreas@gaisler.com>2014-08-29 17:09:18 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-09 16:39:10 -0700
commit384859d2af8ead22c9e5a570a4ab89f1b563c8e5 (patch)
tree753e436fd62f5eae28fdc099d2d6a5d7e9ba6c46 /net/ax25
parent74cad25c076a2f5253312c2fe82d1a4daecc1323 (diff)
downloadop-kernel-dev-384859d2af8ead22c9e5a570a4ab89f1b563c8e5.zip
op-kernel-dev-384859d2af8ead22c9e5a570a4ab89f1b563c8e5.tar.gz
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 'net/ax25')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud