summaryrefslogtreecommitdiffstats
path: root/arch/mips64
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-04-24 21:27:29 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-04-24 21:27:29 +0000
commit35cf77f2195a9d93146076702d991663edddd267 (patch)
tree3024eab8438d252c9753a7725460e8837042721d /arch/mips64
parent8cd976ba68296d98ac18c0b32b28f152a5344ce4 (diff)
Pick a name for the idle process on each cpu - easier for debugging.
Diffstat (limited to 'arch/mips64')
-rw-r--r--arch/mips64/sgi-ip27/ip27-init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-init.c b/arch/mips64/sgi-ip27/ip27-init.c
index 07b084b0b..e169800ae 100644
--- a/arch/mips64/sgi-ip27/ip27-init.c
+++ b/arch/mips64/sgi-ip27/ip27-init.c
@@ -424,6 +424,7 @@ void allowboot(void)
*/
kernel_thread(0, NULL, CLONE_PID);
p = init_task.prev_task;
+ sprintf(p->comm, "%s%d", "Idle", num_cpus);
init_tasks[num_cpus] = p;
p->processor = num_cpus;
p->has_cpu = 1; /* we schedule the first task manually */