summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2007-10-27 00:52:26 +0000
committerjulian <julian@FreeBSD.org>2007-10-27 00:52:26 +0000
commitbc607610fb3b864a235d206b9efa2af5ad7d0cc8 (patch)
treeefe8b44a910fe7640955818acdde236ec5c14c9e /sys
parent83e9ad568022acfed4265fd5bb432815773900b5 (diff)
downloadFreeBSD-src-bc607610fb3b864a235d206b9efa2af5ad7d0cc8.zip
FreeBSD-src-bc607610fb3b864a235d206b9efa2af5ad7d0cc8.tar.gz
rename the process to 'idle' and 'intr' as per jhb.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_idle.c4
-rw-r--r--sys/kern/kern_intr.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_idle.c b/sys/kern/kern_idle.c
index 62a901f..953297b 100644
--- a/sys/kern/kern_idle.c
+++ b/sys/kern/kern_idle.c
@@ -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)
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index f836f06..a31a30e 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -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);
OpenPOWER on IntegriCloud