diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-11-15 19:48:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-11-15 19:48:30 +0000 |
commit | e540c7e8940cfbdaf00d79916ab88af9064ee8d7 (patch) | |
tree | 2f2948576f4a7e578c63ff174e81ce0a08dca838 /sys | |
parent | 727276797a4e53913cd9c3caa2888b69daac04f7 (diff) |
Move tests for curpcb being NULL in copy{in,out}str() from DIAGNOSTIC to
DEBUG - this never happens anyway.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm/arm/copystr.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/arm/arm/copystr.S b/sys/arch/arm/arm/copystr.S index c7d0e87696e..2b58c944992 100644 --- a/sys/arch/arm/arm/copystr.S +++ b/sys/arch/arm/arm/copystr.S @@ -1,4 +1,4 @@ -/* $OpenBSD: copystr.S,v 1.1 2004/02/01 05:09:48 drahn Exp $ */ +/* $OpenBSD: copystr.S,v 1.2 2006/11/15 19:48:29 miod Exp $ */ /* $NetBSD: copystr.S,v 1.8 2002/10/13 14:54:48 bjh21 Exp $ */ /* @@ -123,7 +123,7 @@ ENTRY(copyinstr) ldr r4, [r4] #endif -#ifdef DIAGNOSTIC +#ifdef DEBUG teq r4, #0x00000000 beq .Lcopystrpcbfault #endif @@ -180,7 +180,7 @@ ENTRY(copyoutstr) ldr r4, [r4] #endif -#ifdef DIAGNOSTIC +#ifdef DEBUG teq r4, #0x00000000 beq .Lcopystrpcbfault #endif @@ -215,7 +215,7 @@ ENTRY(copyoutstr) RESTORE_REGS mov pc, lr -#ifdef DIAGNOSTIC +#ifdef DEBUG .Lcopystrpcbfault: mov r2, r1 mov r1, r0 |