summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ObsoleteFiles.inc2
-rw-r--r--share/man/man9/Makefile1
-rw-r--r--share/man/man9/rman.922
-rw-r--r--sys/sys/rman.h1
4 files changed, 3 insertions, 23 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 5696969..33565d8 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -38,6 +38,8 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20160723: stale MLINK removed
+OLD_FILES+=usr/share/man/man9/rman_await_resource.9.gz
# 20160216: Remove obsolete unbound-control-setup
OLD_FILES+=usr/sbin/unbound-control-setup
# 20151222: liblzma header
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 322c022..44d6a83 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1074,7 +1074,6 @@ MLINKS+=resource_int_value.9 resource_long_value.9 \
resource_int_value.9 resource_string_value.9
MLINKS+=rman.9 rman_activate_resource.9 \
rman.9 rman_adjust_resource.9 \
- rman.9 rman_await_resource.9 \
rman.9 rman_deactivate_resource.9 \
rman.9 rman_fini.9 \
rman.9 rman_first_free_region.9 \
diff --git a/share/man/man9/rman.9 b/share/man/man9/rman.9
index 4c8ef29..9a58d93 100644
--- a/share/man/man9/rman.9
+++ b/share/man/man9/rman.9
@@ -25,14 +25,13 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 15, 2014
+.Dd May 19, 2016
.Dt RMAN 9
.Os
.Sh NAME
.Nm rman ,
.Nm rman_activate_resource ,
.Nm rman_adjust_resource ,
-.Nm rman_await_resource ,
.Nm rman_deactivate_resource ,
.Nm rman_fini ,
.Nm rman_init ,
@@ -67,8 +66,6 @@
.Ft int
.Fn rman_adjust_resource "struct resource *r" "u_long start" "u_long end"
.Ft int
-.Fn rman_await_resource "struct resource *r" "int pri2" "int timo"
-.Ft int
.Fn rman_deactivate_resource "struct resource *r"
.Ft int
.Fn rman_fini "struct rman *rm"
@@ -387,23 +384,6 @@ flag.
If other consumers are waiting for this range, it will wakeup their threads.
.Pp
The
-.Fn rman_await_resource
-function performs an asynchronous wait for a resource
-.Fa r
-to become inactive, that is, for the
-.Dv RF_ACTIVE
-flag to be cleared.
-It is used to enable cooperative sharing of a resource
-which can only be safely used by one thread at a time.
-The arguments
-.Fa pri
-and
-.Fa timo
-are passed to the
-.Fn rman_await_resource
-function.
-.Pp
-The
.Fn rman_get_start ,
.Fn rman_get_end ,
.Fn rman_get_size ,
diff --git a/sys/sys/rman.h b/sys/sys/rman.h
index d98dac7..bb63816 100644
--- a/sys/sys/rman.h
+++ b/sys/sys/rman.h
@@ -117,7 +117,6 @@ TAILQ_HEAD(rman_head, rman);
int rman_activate_resource(struct resource *r);
int rman_adjust_resource(struct resource *r, u_long start, u_long end);
-int rman_await_resource(struct resource *r, int pri, int timo);
int rman_first_free_region(struct rman *rm, u_long *start, u_long *end);
bus_space_handle_t rman_get_bushandle(struct resource *);
bus_space_tag_t rman_get_bustag(struct resource *);
OpenPOWER on IntegriCloud