diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-08-26 23:18:32 (GMT) |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-02-24 13:51:26 (GMT) |
commit | 29f8ea8ab09bad0c3c0d67964559d27643e97903 (patch) | |
tree | 841538d670636493ccb4bd240739e934dd09fda1 /drivers/nubus | |
parent | 612262a53352af839a14b3395975a3440c95080a (diff) | |
download | linux-fsl-qoriq-29f8ea8ab09bad0c3c0d67964559d27643e97903.tar.xz |
ieee1394: use correct barrier types between accesses of nodeid and generation
A compiler barrier (explicit on the read side, implicit on the write
side) is not quite enough for what has to be accomplished here. Use
hardware memory barriers on systems which need them.
(Of course a full fix of generation handling would require much more
than this. The ieee1394 core's bus generation counter had to be tied to
the controller's bus generation counter; cf. Kristian's stack. It's
just that I have other current business with the code around these
barrier()s, so why not do at least this small fix.)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions