diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-23 17:26:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-23 17:26:07 +0000 |
commit | 8c3e9f0a6d2b27a8f4f35bb3c672bf31106e9dd2 (patch) | |
tree | d3d80b0ef8f52bf63a6c948c7e45202c9f0a5625 /sys/arch/mvme88k/ddb | |
parent | a3a5d021010c457bffc730635582757517d31c39 (diff) |
Get rid of a few (mostly DDB related) unused defines and macros.
Diffstat (limited to 'sys/arch/mvme88k/ddb')
-rw-r--r-- | sys/arch/mvme88k/ddb/db_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/ddb/db_interface.c b/sys/arch/mvme88k/ddb/db_interface.c index e795097224d..58e67b6028d 100644 --- a/sys/arch/mvme88k/ddb/db_interface.c +++ b/sys/arch/mvme88k/ddb/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.41 2004/01/14 20:45:59 miod Exp $ */ +/* $OpenBSD: db_interface.c,v 1.42 2004/01/23 17:26:02 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1991 Carnegie Mellon University @@ -384,7 +384,7 @@ m88k_db_trap(type, frame) struct trapframe *frame; { - if (db_are_interrupts_disabled()) + if (get_psr() & (1 << PSR_INTERRUPT_DISABLE_BIT)) db_printf("WARNING: entered debugger with interrupts disabled\n"); switch(type) { |