projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b18eb2d
)
sparc64: Add membar to Niagara2 memcpy code.
author
David S. Miller
<davem@davemloft.net>
Sat, 17 May 2014 18:28:05 +0000
(11:28 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 17 May 2014 18:28:05 +0000
(11:28 -0700)
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>
arch/sparc/lib/NG2memcpy.S
patch
|
blob
|
history
diff --git
a/arch/sparc/lib/NG2memcpy.S
b/arch/sparc/lib/NG2memcpy.S
index 2c20ad63ddbf2bbf8a4da5e751e49650d8be7060..30eee6e8a81b2d45797aab304914b10571573b1a 100644
(file)
--- 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