diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-07-20 23:06:52 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-07-20 23:06:52 +0000 |
commit | 7008829524759b347301fe53c3f85958ff850a81 (patch) | |
tree | eab8273659d668587b5f0b89c06723e2be7c8d2b /sys/arch/macppc | |
parent | b814ce8068472c8fa6e5bc512077cd5f677d643a (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.c | 10 |
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 } |