summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_kdb.c
diff options
context:
space:
mode:
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 c48f33e..b386604 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);
OpenPOWER on IntegriCloud