MFC 300253: Remove dangling references to rman_await_resource().
This function was removed when RF_TIMESHARE was removed a couple of years ago.
This commit is contained in:
parent
ae63b0f122
commit
68877f4e41
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -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 ,
|
||||
|
@ -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 *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user