From 6f175a0e20cb55d7b1c3f882e3f1ecbd0503a094 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 10 Apr 2003 17:35:44 +0000 Subject: 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. --- sys/ddb/db_ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/ddb') 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"); -- cgit v1.1