summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2009-04-18 15:04:26 +0000
committertsutsui <tsutsui@NetBSD.org>2009-04-18 15:04:26 +0000
commitd24f7d61561afedfce392c55761d7dd4c6e0e02e (patch)
treeba0997e70956e17a97e972a30dd06d9fe6331518 /sys/dev
parentd779b85d3e27cbc6415031c4446bef314272b7be (diff)
Revert bcopy -> memcpy change inside #ifdef BCOPY_FASTER block.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/rcons/raster_op.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rcons/raster_op.c b/sys/dev/rcons/raster_op.c
index 94809444867..1e7bb2489c9 100644
--- a/sys/dev/rcons/raster_op.c
+++ b/sys/dev/rcons/raster_op.c
@@ -1,4 +1,4 @@
-/* $NetBSD: raster_op.c,v 1.17 2009/03/18 17:06:50 cegger Exp $ */
+/* $NetBSD: raster_op.c,v 1.18 2009/04/18 15:04:26 tsutsui Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: raster_op.c,v 1.17 2009/03/18 17:06:50 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: raster_op.c,v 1.18 2009/04/18 15:04:26 tsutsui Exp $");
#include <sys/types.h>
#ifdef _KERNEL
@@ -1044,7 +1044,7 @@ raster_op_noclip( dst, dx, dy, w, h, rop, src, sx, sy )
if ( op == RAS_SRC && src->width == w && dst->width == w &&
src->linelongs == dst->linelongs && src->linelongs == w >> 2 )
{
- memcpy( (char*) dstlin1, (char*) srclin1,
+ bcopy( (char*) srclin1, (char*) dstlin1,
h * src->linelongs * sizeof(u_int32_t) );
return 0;
}