rename the process to 'idle' and 'intr' as per jhb.

This commit is contained in:
Julian Elischer 2007-10-27 00:52:26 +00:00
parent fbf7046447
commit 9ef95d0105
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173051
2 changed files with 4 additions and 4 deletions

View File

@ -64,11 +64,11 @@ idle_setup(void *dummy)
#endif
#ifdef SMP
error = kproc_kthread_add(sched_idletd, NULL, &p, &td,
RFSTOPPED | RFHIGHPID, 0, "idled", "idle: cpu%d", pc->pc_cpuid);
RFSTOPPED | RFHIGHPID, 0, "idle", "idle: cpu%d", pc->pc_cpuid);
pc->pc_idlethread = td;
#else
error = kproc_kthread_add(sched_idletd, NULL, &p, &td,
RFSTOPPED | RFHIGHPID, 0, "idled", "idle");
RFSTOPPED | RFHIGHPID, 0, "idle", "idle");
PCPU_SET(idlethread, td);
#endif
if (error)

View File

@ -338,7 +338,7 @@ ithread_create(const char *name)
error = kproc_kthread_add(ithread_loop, ithd, &intrproc,
&td, RFSTOPPED | RFHIGHPID,
0, "interd", "%s", name);
0, "intr", "%s", name);
if (error)
panic("kproc_create() failed with %d", error);
thread_lock(td);
@ -362,7 +362,7 @@ ithread_create(const char *name, struct intr_handler *ih)
error = kproc_kthread_create(ithread_loop, ih, &intrproc,
&td, RFSTOPPED | RFHIGHPID,
0, "interd", "%s", name);
0, "intr", "%s", name);
if (error)
panic("kproc_create() failed with %d", error);
thread_lock(td);