Module Name: src
Committed By: pooka
Date: Tue Aug 10 19:16:04 UTC 2010
Modified Files:
src/sys/rump/librump/rumpkern: intr.c
Log Message:
Use correct indices for clock threads and more descriptive ones
for the softint threads.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/rump/librump/rumpkern/intr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpkern/intr.c
diff -u src/sys/rump/librump/rumpkern/intr.c:1.29 src/sys/rump/librump/rumpkern/intr.c:1.30
--- src/sys/rump/librump/rumpkern/intr.c:1.29 Tue May 18 20:18:18 2010
+++ src/sys/rump/librump/rumpkern/intr.c Tue Aug 10 19:16:04 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.29 2010/05/18 20:18:18 martin Exp $ */
+/* $NetBSD: intr.c,v 1.30 2010/08/10 19:16:04 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.29 2010/05/18 20:18:18 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.30 2010/08/10 19:16:04 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -224,11 +224,11 @@
rv = kthread_create(PRI_NONE,
KTHREAD_MPSAFE | KTHREAD_INTR, ci,
sithread, (void *)(uintptr_t)i,
- NULL, "rumpsi%d", i);
+ NULL, "rsi%d/%d", ci->ci_index, i);
}
rv = kthread_create(PRI_NONE, KTHREAD_MPSAFE | KTHREAD_INTR,
- ci, doclock, NULL, NULL, "rumpclk%d", i);
+ ci, doclock, NULL, NULL, "rumpclk%d", ci->ci_index);
if (rv)
panic("clock thread creation failed: %d", rv);
}