diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-11-15 22:15:19 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-11-15 22:15:19 +0000 |
commit | 817f562ae06104eb92f14b18acb8d89925f9bde6 (patch) | |
tree | d6b50e7e505f1d529194660631be4902931e9fcb /sys/kern | |
parent | c5b18d717cf3d5b812c07229f113e8f0348d64f3 (diff) |
Match comments with reality
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_synch.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 3f6232c282f..bd79ccd3be1 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -1,7 +1,7 @@ -/* $OpenBSD: kern_synch.c,v 1.64 2005/06/17 22:33:34 niklas Exp $ */ +/* $OpenBSD: kern_synch.c,v 1.65 2005/11/15 22:15:18 pedro Exp $ */ /* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */ -/*- +/* * Copyright (c) 1982, 1986, 1990, 1991, 1993 * The Regents of the University of California. All rights reserved. * (c) UNIX System Laboratories, Inc. @@ -55,7 +55,6 @@ void updatepri(struct proc *); void endtsleep(void *); - /* * We're only looking at 7 bits of the address; everything is * aligned to 4, lots of things are aligned to greater powers @@ -292,7 +291,7 @@ unsleep(p) } /* - * Make all processes sleeping on the specified identifier runnable. + * Make a number of processes sleeping on the specified identifier runnable. */ void wakeup_n(ident, n) @@ -357,6 +356,9 @@ restart: SCHED_UNLOCK(s); } +/* + * Make all processes sleeping on the specified identifier runnable. + */ void wakeup(chan) void *chan; |