summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/uvm/uvm_glue.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/uvm/uvm_glue.c b/sys/uvm/uvm_glue.c
index 2445a64c641..2af1892345b 100644
--- a/sys/uvm/uvm_glue.c
+++ b/sys/uvm/uvm_glue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_glue.c,v 1.45 2006/11/29 12:24:18 miod Exp $ */
+/* $OpenBSD: uvm_glue.c,v 1.46 2007/05/18 10:55:34 art Exp $ */
/* $NetBSD: uvm_glue.c,v 1.44 2001/02/06 19:54:44 eeh Exp $ */
/*
@@ -341,9 +341,8 @@ uvm_scheduler(void)
/*
* Nothing to do, back to sleep
*/
-loop:
- tsleep(&proc0, PVM, "scheduler", 0);
- goto loop;
+ while (1)
+ tsleep(&proc0, PVM, "scheduler", 0);
}
/*