firewire: ohci: use memory barriers to order descriptor updates
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 27 Jul 2010 11:20:33 +0000 (13:20 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 29 Jul 2010 21:06:25 +0000 (23:06 +0200)
commit071595ebdc66d70219e2d1ce746016f64b2b19e7
tree3083b0de17a6d0633420ffda1dfa04a0b4b880b2
parent8e2b2b46ea4ca5ef790dddf78b360ed736a62d7c
firewire: ohci: use memory barriers to order descriptor updates

When we append to a DMA program, we need to ensure that the order in
which initialization of the new descriptors and update of the
branch_address of the old tail descriptor, as seen by the PCI device,
happen as intended.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c