Commit 5aa4ecfd authored by David S. Miller's avatar David S. Miller

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: default avatarDavid S. Miller <davem@davemloft.net>
parent b18eb2d7
...@@ -236,6 +236,7 @@ FUNC_NAME: /* %o0=dst, %o1=src, %o2=len */ ...@@ -236,6 +236,7 @@ FUNC_NAME: /* %o0=dst, %o1=src, %o2=len */
*/ */
VISEntryHalf VISEntryHalf
membar #Sync
alignaddr %o1, %g0, %g0 alignaddr %o1, %g0, %g0
add %o1, (64 - 1), %o4 add %o1, (64 - 1), %o4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment