NTB: correct memory barrier
authorJon Mason <jon.mason@intel.com>
Sat, 19 Jan 2013 09:02:17 +0000 (02:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Jan 2013 23:45:50 +0000 (15:45 -0800)
commit842c1ddea5f9949cb21e568408d2af9d986eee69
tree02970fc4c58f1e564f2f7bb90632bf805f8cdcf8
parent8222b402e2df3b92948141046bae82fb774f3f64
NTB: correct memory barrier

mmiowb is not sufficient to flush the data and is causing data
corruption.  Change to wmb and the data corruption is no more.

Signed-off-by: Jon Mason <jon.mason@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ntb/ntb_transport.c