summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_uio.c
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-02-08 00:36:46 +0000
committermdf <mdf@FreeBSD.org>2011-02-08 00:36:46 +0000
commitd78b15750703e8d8d71305f1941184c76f370b76 (patch)
treefc69114a941d3b1fe41d7b01a6de3fe7ad156fb4 /sys/kern/subr_uio.c
parent33ee365b5548dd6130fd6a2707e2169369e1fab6 (diff)
downloadFreeBSD-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.c7
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)
OpenPOWER on IntegriCloud