aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-card.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-06-04 21:08:43 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-06-05 16:26:17 +0200
commit3dcdc50079bc2c9dbc6524518976353f743f7ec8 (patch)
treeec620a55e21631efee6622f12338fae59b41d1ae /drivers/firewire/fw-card.c
parentfirewire: also use vendor ID in root directory for driver matches (diff)
downloadlinux-dev-3dcdc50079bc2c9dbc6524518976353f743f7ec8.tar.xz
linux-dev-3dcdc50079bc2c9dbc6524518976353f743f7ec8.zip
firewire: ohci: access bus_seconds atomically
In the unlikely event that card->driver->get_bus_time() is called during a cycle64Seconds interrupt, we could read garbage unless atomic accesses are used. The switch to atomic ops requires to change the 64 seconds counter from unsigned to signed, but this shouldn't matter to the end result. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-card.c')
0 files changed, 0 insertions, 0 deletions