commit | 3dcdc50079bc2c9dbc6524518976353f743f7ec8 | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Thu Jun 04 21:08:43 2009 +0200 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Fri Jun 05 16:26:17 2009 +0200 |
tree | ec620a55e21631efee6622f12338fae59b41d1ae | |
parent | e41f8d709c31b42129a34305a99d29c38aff75c4 [diff] |
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>