summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-02-27 09:07:55 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-02-27 09:07:55 +0000
commitfbdfcb018aca37c86406d63e6cc9a57c64fe2bfd (patch)
treeeaaf3379cf687076e9ede3783c3ce993a2c67cb6 /sys/ufs
parent68ce2342f8432890c5474826d1c6f61d79bcf3da (diff)
Add wakeup_n and wakeup_one. wakeup_n will wakeup up to n sleeping processes
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_softdep.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index afa7d29cb79..8a08ce5b8f2 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_softdep.c,v 1.16 2001/02/26 17:54:07 csapuntz Exp $ */
+/* $OpenBSD: ffs_softdep.c,v 1.17 2001/02/27 09:07:54 csapuntz Exp $ */
/*
* Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved.
*
@@ -478,15 +478,6 @@ struct ctldebug debug30 = { "direct_blk_ptrs", &stat_direct_blk_ptrs };
struct ctldebug debug31 = { "dir_entry", &stat_dir_entry };
#endif /* DEBUG */
-void wakeup_one __P((void *));
-
-void
-wakeup_one(c)
- void *c;
-{
- wakeup(c);
-}
-
/*
* Add an item to the end of the work queue.
* This routine requires that the lock be held.