aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-12-25 17:52:02 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-12-25 17:52:02 +0000
commit3de213cc00f2889d2cd693968fd38c10a7f5def1 (patch)
treeae45f86ab6fb75519ba2d9dbc206616dba84cc13 /sys/amd64
parent6862d27ecd3a641713fe08d9572a27bf218cc8d9 (diff)
Notes
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/machdep.c3
-rw-r--r--sys/amd64/amd64/mp_watchdog.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 24226f7e7e8e..24e9ec842fdd 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -1277,7 +1277,8 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
#ifdef KDB
if (boothowto & RB_KDB)
- kdb_enter("Boot flags requested debugger");
+ kdb_enter(KDB_WHY_BOOTFLAGS,
+ "Boot flags requested debugger");
#endif
identify_cpu(); /* Final stage of CPU initialization */
diff --git a/sys/amd64/amd64/mp_watchdog.c b/sys/amd64/amd64/mp_watchdog.c
index b6ac77731664..1803270b573f 100644
--- a/sys/amd64/amd64/mp_watchdog.c
+++ b/sys/amd64/amd64/mp_watchdog.c
@@ -203,7 +203,7 @@ ap_watchdog(u_int cpuid)
if (watchdog_nmi)
watchdog_ipi_nmi();
else
- kdb_enter("mp_watchdog");
+ kdb_enter(KDB_WHY_WATCHDOG, "mp_watchdog");
}
}
bcopy(old_pcomm, p->p_comm, MAXCOMLEN + 1);