diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-07 15:58:40 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-07 15:58:40 +0000 |
commit | f8e9bbeff36b49dc50ad862669539567dec1ccc1 (patch) | |
tree | 87fd1ed90072821df9a94e98a96aefdee7883523 /sys/arch/powerpc/ddb/db_interface.c | |
parent | 4a4a0d0e931bce6a137626d9247e5dfeae62384e (diff) |
Substitute boolean_t/TRUE/FALSE by int/1/0.
Diffstat (limited to 'sys/arch/powerpc/ddb/db_interface.c')
-rw-r--r-- | sys/arch/powerpc/ddb/db_interface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/powerpc/ddb/db_interface.c b/sys/arch/powerpc/ddb/db_interface.c index 6352c84fceb..28b5ddf284d 100644 --- a/sys/arch/powerpc/ddb/db_interface.c +++ b/sys/arch/powerpc/ddb/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.5 2019/03/23 05:47:23 visa Exp $ */ +/* $OpenBSD: db_interface.c,v 1.6 2019/11/07 15:58:39 mpi Exp $ */ /* $NetBSD: db_interface.c,v 1.12 2001/07/22 11:29:46 wiz Exp $ */ /* @@ -46,7 +46,7 @@ struct db_mutex ddb_mp_mutex = DB_MUTEX_INITIALIZER; volatile int ddb_state = DDB_STATE_NOT_RUNNING; volatile cpuid_t ddb_active_cpu; -boolean_t db_switch_cpu; +int db_switch_cpu; long db_switch_to_cpu; #endif @@ -92,9 +92,9 @@ db_trap_glue(struct trapframe *frame) s = splhigh(); db_active++; - cnpollc(TRUE); + cnpollc(1); db_trap(T_BREAKPOINT, 0); - cnpollc(FALSE); + cnpollc(0); db_active--; splx(s); |