summaryrefslogtreecommitdiff
path: root/sys/kern/subr_kdb.c
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2006-04-03 20:55:52 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2006-04-03 20:55:52 +0000
commit5991a4f811e43b68adb6f635691d085cf7d53358 (patch)
tree68be1d94d87b4d3257a8617330abe894791e35b7 /sys/kern/subr_kdb.c
parentbb0d5fd575cfae2ee48cfcc46bf8ccc95ef019dc (diff)
downloadsrc-test2-5991a4f811e43b68adb6f635691d085cf7d53358.tar.gz
src-test2-5991a4f811e43b68adb6f635691d085cf7d53358.zip
Notes
Diffstat (limited to 'sys/kern/subr_kdb.c')
-rw-r--r--sys/kern/subr_kdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_kdb.c b/sys/kern/subr_kdb.c
index c48f33e55abd..b38660488f9e 100644
--- a/sys/kern/subr_kdb.c
+++ b/sys/kern/subr_kdb.c
@@ -453,10 +453,11 @@ kdb_thr_select(struct thread *thr)
int
kdb_trap(int type, int code, struct trapframe *tf)
{
+ register_t intr;
#ifdef SMP
int did_stop_cpus;
#endif
- int handled, intr;
+ int handled;
if (kdb_dbbe == NULL || kdb_dbbe->dbbe_trap == NULL)
return (0);