summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_ps.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2003-04-10 17:35:44 +0000
committerjulian <julian@FreeBSD.org>2003-04-10 17:35:44 +0000
commit6f175a0e20cb55d7b1c3f882e3f1ecbd0503a094 (patch)
treea36a5c6a854637e4e73e7256b937922489d07ddb /sys/ddb/db_ps.c
parent2a488098e335f6345e9235190cdc78fa82e9d61f (diff)
downloadFreeBSD-src-6f175a0e20cb55d7b1c3f882e3f1ecbd0503a094.zip
FreeBSD-src-6f175a0e20cb55d7b1c3f882e3f1ecbd0503a094.tar.gz
Move the _oncpu entry from the KSE to the thread.
The entry in the KSE still exists but it's purpose will change a bit when we add the ability to lock a KSE to a cpu.
Diffstat (limited to 'sys/ddb/db_ps.c')
-rw-r--r--sys/ddb/db_ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c
index 430dae8..17992ea 100644
--- a/sys/ddb/db_ps.c
+++ b/sys/ddb/db_ps.c
@@ -178,7 +178,7 @@ dumpthread(volatile struct proc *p, volatile struct thread *td)
db_printf("[RUNQ]");
break;
case TDS_RUNNING:
- db_printf("[CPU %d]", td->td_kse->ke_oncpu);
+ db_printf("[CPU %d]", td->td_oncpu);
break;
default:
panic("unknown thread state");
OpenPOWER on IntegriCloud