Module Name: src
Committed By: pooka
Date: Tue Sep 7 17:49:23 UTC 2010
Modified Files:
src/sys/rump/librump/rumpkern: intr.c
Log Message:
update comments. no code change.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 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.32 src/sys/rump/librump/rumpkern/intr.c:1.33
--- src/sys/rump/librump/rumpkern/intr.c:1.32 Sun Aug 15 21:28:33 2010
+++ src/sys/rump/librump/rumpkern/intr.c Tue Sep 7 17:49:23 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.32 2010/08/15 21:28:33 pooka Exp $ */
+/* $NetBSD: intr.c,v 1.33 2010/09/07 17:49:23 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.32 2010/08/15 21:28:33 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.33 2010/09/07 17:49:23 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -243,16 +243,6 @@
panic("clock thread creation failed: %d", rv);
}
-/*
- * Soft interrupts bring two choices. If we are running with thread
- * support enabled, defer execution, otherwise execute in place.
- * See softint_schedule().
- *
- * As there is currently no clear concept of when a thread finishes
- * work (although rump_clear_curlwp() is close), simply execute all
- * softints in the timer thread. This is probably not the most
- * efficient method, but good enough for now.
- */
void *
softint_establish(u_int flags, void (*func)(void *), void *arg)
{
@@ -276,6 +266,11 @@
return si;
}
+/*
+ * Soft interrupts bring two choices. If we are running with thread
+ * support enabled, defer execution, otherwise execute in place.
+ */
+
void
softint_schedule(void *arg)
{