From: Stefan Richter Date: Tue, 26 Aug 2008 23:18:32 +0000 (+0200) Subject: ieee1394: use correct barrier types between accesses of nodeid and generation X-Git-Tag: v2.6.29-rc7~63^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29f8ea8ab09bad0c3c0d67964559d27643e97903;p=pandora-kernel.git 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 --- Reading git-diff-tree failed