summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-12-30 21:27:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-12-30 21:27:20 +0000
commitf6f3723d10fe56463c5f4fd89abd59cfc174a1fb (patch)
tree49f707f0eace71816a531ca2c2dbe7dc8e3e030b /sys/arch
parentd80952da09e939a8d77e0c52c8ad1a08fafb6462 (diff)
Do the address space checks only if option DEBUG - nobody has seen them
triggered in BSD since a very, very long time, if ever.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/m68k/m68k/copy.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/m68k/m68k/copy.s b/sys/arch/m68k/m68k/copy.s
index fc8097f070c..10473a2a7d8 100644
--- a/sys/arch/m68k/m68k/copy.s
+++ b/sys/arch/m68k/m68k/copy.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: copy.s,v 1.15 2003/06/02 23:27:48 millert Exp $ */
+/* $OpenBSD: copy.s,v 1.16 2004/12/30 21:27:19 miod Exp $ */
/* $NetBSD: copy.s,v 1.30 1998/03/04 06:39:14 thorpej Exp $ */
/*-
@@ -49,7 +49,7 @@
.file "copy.s"
.text
-#ifdef DIAGNOSTIC
+#ifdef DEBUG
/*
* The following routines all use the "moves" instruction to access
* memory with "user" privilege while running in supervisor mode.
@@ -65,10 +65,10 @@ Lbadfc:
bra Lbadfc
#define CHECK_SFC movec sfc,d0; subql #FC_USERD,d0; bne Lbadfc
#define CHECK_DFC movec dfc,d0; subql #FC_USERD,d0; bne Lbadfc
-#else /* DIAGNOSTIC */
+#else /* DEBUG */
#define CHECK_SFC
#define CHECK_DFC
-#endif /* DIAGNOSTIC */
+#endif /* DEBUG */
/*
* copyin(caddr_t from, caddr_t to, size_t len);