summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2019-07-20 23:06:52 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2019-07-20 23:06:52 +0000
commit7008829524759b347301fe53c3f85958ff850a81 (patch)
treeeab8273659d668587b5f0b89c06723e2be7c8d2b /sys/arch/macppc
parentb814ce8068472c8fa6e5bc512077cd5f677d643a (diff)
Get rid of `ddb_is_active' instead use `db_active'.
From Christian Ludwig <christian_ludwig at genua dot de> ok visa@
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/zs.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/macppc/dev/zs.c b/sys/arch/macppc/dev/zs.c
index ba4453683ca..a714bacf53c 100644
--- a/sys/arch/macppc/dev/zs.c
+++ b/sys/arch/macppc/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.28 2017/12/30 20:46:59 guenther Exp $ */
+/* $OpenBSD: zs.c,v 1.29 2019/07/20 23:06:51 mpi Exp $ */
/* $NetBSD: zs.c,v 1.17 2001/06/19 13:42:15 wiz Exp $ */
/*
@@ -1091,12 +1091,8 @@ zs_abort(struct zs_chanstate *channel)
} while (rr0 & ZSRR0_BREAK);
#if defined(DDB)
- {
- extern int db_active;
-
- if (!db_active)
- db_enter();
- }
+ if (!db_active)
+ db_enter();
#endif
}