aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_kdb.c
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2011-05-31 21:22:44 +0000
committerAttilio Rao <attilio@FreeBSD.org>2011-05-31 21:22:44 +0000
commit61b926921f1e0ea3eae9511fb25ca6f016e0a5c2 (patch)
treec72d5598fc48383e545ddbc1e8438d9245766ca9 /sys/kern/subr_kdb.c
parent1de471dfee9267dde6b33dd262faefffb2b71bc9 (diff)
parent42e58c0372d7e63e774b5b079fe6ba1f3aa53da9 (diff)
downloadsrc-61b926921f1e0ea3eae9511fb25ca6f016e0a5c2.tar.gz
src-61b926921f1e0ea3eae9511fb25ca6f016e0a5c2.zip
Notes
Diffstat (limited to 'sys/kern/subr_kdb.c')
-rw-r--r--sys/kern/subr_kdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_kdb.c b/sys/kern/subr_kdb.c
index bb78c00a7591..1d67864b1533 100644
--- a/sys/kern/subr_kdb.c
+++ b/sys/kern/subr_kdb.c
@@ -412,7 +412,7 @@ kdb_thr_ctx(struct thread *thr)
return (&kdb_pcb);
#if defined(SMP) && defined(KDB_STOPPEDPCB)
- SLIST_FOREACH(pc, &cpuhead, pc_allcpu) {
+ STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) {
if (pc->pc_curthread == thr &&
CPU_OVERLAP(&stopped_cpus, &pc->pc_cpumask))
return (KDB_STOPPEDPCB(pc));