diff options
author | David S. Miller <davem@davemloft.net> | 2014-05-17 11:28:05 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-17 11:28:05 -0700 |
commit | 5aa4ecfd0ddb1e6dcd1c886e6c49677550f581aa (patch) | |
tree | 00a75bbbc63b83340836ecefbd4b03d4ec840a6f | |
parent | b18eb2d779240631a098626cb6841ee2dd34fda0 (diff) | |
download | op-kernel-dev-5aa4ecfd0ddb1e6dcd1c886e6c49677550f581aa.zip op-kernel-dev-5aa4ecfd0ddb1e6dcd1c886e6c49677550f581aa.tar.gz |
sparc64: Add membar to Niagara2 memcpy code.
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>
-rw-r--r-- | arch/sparc/lib/NG2memcpy.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/lib/NG2memcpy.S b/arch/sparc/lib/NG2memcpy.S index 2c20ad6..30eee6e 100644 --- a/arch/sparc/lib/NG2memcpy.S +++ b/arch/sparc/lib/NG2memcpy.S @@ -236,6 +236,7 @@ FUNC_NAME: /* %o0=dst, %o1=src, %o2=len */ */ VISEntryHalf + membar #Sync alignaddr %o1, %g0, %g0 add %o1, (64 - 1), %o4 |