summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--UPDATING7
-rw-r--r--sys/kern/subr_uio.c7
-rw-r--r--sys/sys/param.h2
-rw-r--r--sys/sys/uio.h1
4 files changed, 8 insertions, 9 deletions
diff --git a/UPDATING b/UPDATING
index 6fecce5..bbbb2eb 100644
--- a/UPDATING
+++ b/UPDATING
@@ -22,6 +22,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 9.x IS SLOW:
machines to maximize performance. (To disable malloc debugging, run
ln -s aj /etc/malloc.conf.)
+20110207:
+ 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.
+
20110112:
A SYSCTL_[ADD_]UQUAD was added for unsigned uint64_t pointers,
symmetric with the existing SYSCTL_[ADD_]QUAD. Type checking
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)
diff --git a/sys/sys/param.h b/sys/sys/param.h
index e7caec3..675c471 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -58,7 +58,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 900031 /* Master, propagated to newvers */
+#define __FreeBSD_version 900032 /* Master, propagated to newvers */
#ifdef _KERNEL
#define P_OSREL_SIGSEGV 700004
diff --git a/sys/sys/uio.h b/sys/sys/uio.h
index 1de8880..a9aecfa 100644
--- a/sys/sys/uio.h
+++ b/sys/sys/uio.h
@@ -94,7 +94,6 @@ int copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov,
int copyinstrfrom(const void * __restrict src, void * __restrict dst,
size_t len, size_t * __restrict copied, int seg);
int copyinuio(struct iovec *iovp, u_int iovcnt, struct uio **uiop);
-void uio_yield(void);
int uiomove(void *cp, int n, struct uio *uio);
int uiomove_frombuf(void *buf, int buflen, struct uio *uio);
int uiomove_fromphys(struct vm_page *ma[], vm_offset_t offset, int n,
OpenPOWER on IntegriCloud