summaryrefslogtreecommitdiffstats
path: root/kernel/arch/sparc/lib/NG4memcpy.S
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/sparc/lib/NG4memcpy.S')
-rw-r--r--kernel/arch/sparc/lib/NG4memcpy.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/arch/sparc/lib/NG4memcpy.S b/kernel/arch/sparc/lib/NG4memcpy.S
index 140527a20..83aeeb1df 100644
--- a/kernel/arch/sparc/lib/NG4memcpy.S
+++ b/kernel/arch/sparc/lib/NG4memcpy.S
@@ -240,8 +240,11 @@ FUNC_NAME: /* %o0=dst, %o1=src, %o2=len */
add %o0, 0x40, %o0
bne,pt %icc, 1b
LOAD(prefetch, %g1 + 0x200, #n_reads_strong)
+#ifdef NON_USER_COPY
+ VISExitHalfFast
+#else
VISExitHalf
-
+#endif
brz,pn %o2, .Lexit
cmp %o2, 19
ble,pn %icc, .Lsmall_unaligned