summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-10-09 09:44:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-10-09 09:44:23 +0000
commit030e704e9f57bf15379a00e029a76b10a771394a (patch)
treee5e5a09e4eaa9261f5e64ba7fb9530b8ffc300b4 /sys
parentf387b4ebff728710101ffddf06a3d18e4a607777 (diff)
allow building a kernel without ddb
ok mpi
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/macppc/locore.S6
-rw-r--r--sys/arch/socppc/socppc/locore.S6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/macppc/macppc/locore.S b/sys/arch/macppc/macppc/locore.S
index b73aa90e311..1b87e9695ef 100644
--- a/sys/arch/macppc/macppc/locore.S
+++ b/sys/arch/macppc/macppc/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.45 2014/09/06 10:45:29 mpi Exp $ */
+/* $OpenBSD: locore.S,v 1.46 2014/10/09 09:44:20 deraadt Exp $ */
/* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */
/*
@@ -1346,7 +1346,9 @@ _C_LABEL(rfi_start):
.long rfi1, rfi1 + 4
.long rfi2, rfi2 + 4
.long rfi3, rfi3 + 4
+#ifdef DDB
.long rfi4, rfi4 + 4
+#endif
.long 0, 0
@@ -1364,5 +1366,7 @@ _C_LABEL(nop32_start):
.long nop32_4s, nop32_4e
.long nop32_5s, nop32_5e
.long nop32_6s, nop32_6e
+#ifdef DDB
.long nop32_7s, nop32_7e
+#endif
.long 0, 0
diff --git a/sys/arch/socppc/socppc/locore.S b/sys/arch/socppc/socppc/locore.S
index 5501fd059b1..9aeff4cd3a7 100644
--- a/sys/arch/socppc/socppc/locore.S
+++ b/sys/arch/socppc/socppc/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.12 2014/09/06 10:45:29 mpi Exp $ */
+/* $OpenBSD: locore.S,v 1.13 2014/10/09 09:44:22 deraadt Exp $ */
/* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */
/*
@@ -1365,7 +1365,9 @@ _C_LABEL(rfi_start):
.long rfi1, rfi1 + 4
.long rfi2, rfi2 + 4
.long rfi3, rfi3 + 4
+#ifdef DDB
.long rfi4, rfi4 + 4
+#endif
.long 0, 0
@@ -1383,5 +1385,7 @@ _C_LABEL(nop32_start):
.long nop32_4s, nop32_4e
.long nop32_5s, nop32_5e
.long nop32_6s, nop32_6e
+#ifdef DDB
.long nop32_7s, nop32_7e
+#endif
.long 0, 0