diff options
-rw-r--r-- | sys/kern/kern_subr.c | 6 | ||||
-rw-r--r-- | sys/sys/uio.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 73aa75b..b6ca2cb 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -96,7 +96,6 @@ uiomove(cp, n, uio) switch (uio->uio_segflg) { case UIO_USERSPACE: - case UIO_USERISPACE: if (ticks - PCPU_GET(switchticks) >= hogticks) uio_yield(); if (uio->uio_rw == UIO_READ) @@ -168,7 +167,6 @@ uiomoveco(cp, n, uio, obj) switch (uio->uio_segflg) { case UIO_USERSPACE: - case UIO_USERISPACE: if (ticks - PCPU_GET(switchticks) >= hogticks) uio_yield(); if (uio->uio_rw == UIO_READ) { @@ -311,10 +309,6 @@ again: *iov->iov_base = c; break; - case UIO_USERISPACE: - if (suibyte(iov->iov_base, c) < 0) - return (EFAULT); - break; case UIO_NOCOPY: break; } diff --git a/sys/sys/uio.h b/sys/sys/uio.h index e09ca3f..ac5ca5f 100644 --- a/sys/sys/uio.h +++ b/sys/sys/uio.h @@ -52,7 +52,6 @@ enum uio_rw { UIO_READ, UIO_WRITE }; enum uio_seg { UIO_USERSPACE, /* from user data space */ UIO_SYSSPACE, /* from system space */ - UIO_USERISPACE, /* from user I space */ UIO_NOCOPY /* don't copy, already in object */ }; |