diff options
author | mdf <mdf@FreeBSD.org> | 2011-02-08 00:36:46 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2011-02-08 00:36:46 +0000 |
commit | d78b15750703e8d8d71305f1941184c76f370b76 (patch) | |
tree | fc69114a941d3b1fe41d7b01a6de3fe7ad156fb4 /sys/kern/subr_uio.c | |
parent | 33ee365b5548dd6130fd6a2707e2169369e1fab6 (diff) | |
download | FreeBSD-src-d78b15750703e8d8d71305f1941184c76f370b76.zip FreeBSD-src-d78b15750703e8d8d71305f1941184c76f370b76.tar.gz |
Remove the uio_yield prototype and symbol. This function has been
misnamed since it was introduced and should not be globally exposed
with this name. The equivalent functionality is now available using
kern_yield(curthread->td_user_pri). The function remains
undocumented.
Bump __FreeBSD_version.
Diffstat (limited to 'sys/kern/subr_uio.c')
-rw-r--r-- | sys/kern/subr_uio.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/subr_uio.c b/sys/kern/subr_uio.c index 934a533..77156f1 100644 --- a/sys/kern/subr_uio.c +++ b/sys/kern/subr_uio.c @@ -352,13 +352,6 @@ again: return (0); } -void -uio_yield(void) -{ - - kern_yield(curthread->td_user_pri); -} - int copyinfrom(const void * __restrict src, void * __restrict dst, size_t len, int seg) |