sparc64: Add membar to Niagara2 memcpy code.
authorDavid S. Miller <davem@davemloft.net>
Sat, 17 May 2014 18:28:05 +0000 (11:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Aug 2014 01:38:26 +0000 (09:38 +0800)
commita8973758f3bd08a2d102ee96ec28b2fe9242d77b
tree456917dfc0c59587fb787dba9845ca2565b83dc6
parentc184f95bbe3e613461c17ded62206c921a6e64b7
sparc64: Add membar to Niagara2 memcpy code.

[ Upstream commit 5aa4ecfd0ddb1e6dcd1c886e6c49677550f581aa ]

This is the prevent previous stores from overlapping the block stores
done by the memcpy loop.

Based upon a glibc patch by Jose E. Marchesi

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/lib/NG2memcpy.S