]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d32fb8c7187db7e8e3baf3854654c0ab79310b6
tree3083b0de17a6d0633420ffda1dfa04a0b4b880b2
parent07a0aab2ce693d70eb064b4cd7d7a9ca4a41a769
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