From d00164124dc77d306b317040a403f3c66f0ed150 Mon Sep 17 00:00:00 2001 From: pooka Date: Tue, 7 Sep 2010 17:49:23 +0000 Subject: [PATCH] update comments. no code change. --- sys/rump/librump/rumpkern/intr.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/sys/rump/librump/rumpkern/intr.c b/sys/rump/librump/rumpkern/intr.c index bbdbb8dcd37c..98b69f39984c 100644 --- a/sys/rump/librump/rumpkern/intr.c +++ b/sys/rump/librump/rumpkern/intr.c @@ -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 -__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 #include @@ -243,16 +243,6 @@ softint_init(struct cpu_info *ci) 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 @@ softint_establish(u_int flags, void (*func)(void *), void *arg) 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) {