Skip to content
Commit 29f8ea8a authored by Stefan Richter's avatar Stefan Richter
Browse files

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: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 612262a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment