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.
This commit is contained in:
Matthew D Fleming 2011-02-08 00:36:46 +00:00
parent e7ceb1e99b
commit 13434232a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218425
4 changed files with 8 additions and 9 deletions

View File

@ -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

View File

@ -352,13 +352,6 @@ ureadc(int c, struct uio *uio)
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)

View File

@ -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

View File

@ -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,