diff options
author | kib <kib@FreeBSD.org> | 2015-01-24 12:51:15 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-01-24 12:51:15 +0000 |
commit | b8f7b5ec8d512cfc097c9038c760c6ab3382a28b (patch) | |
tree | bc8c7de964ccf975be08918db2e57f0b9bb3c01f /sys/sparc64 | |
parent | f3fd716384efab41262353c6ad81586b9c202822 (diff) | |
download | FreeBSD-src-b8f7b5ec8d512cfc097c9038c760c6ab3382a28b.zip FreeBSD-src-b8f7b5ec8d512cfc097c9038c760c6ab3382a28b.tar.gz |
Remove Giant from /dev/mem and /dev/kmem. It is definitely not needed
for i386, and from the code inspection, nothing in the
arm/mips/sparc64 implementations depends on it.
Discussed with: imp, nwhitehorn
Sponsored by: The FreeBSD Foundation
MFC after: 3 weeks
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/mem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/mem.c b/sys/sparc64/sparc64/mem.c index d09f6b8..6bd5225 100644 --- a/sys/sparc64/sparc64/mem.c +++ b/sys/sparc64/sparc64/mem.c @@ -99,8 +99,6 @@ memrw(struct cdev *dev, struct uio *uio, int flags) error = 0; ova = 0; - GIANT_REQUIRED; - while (uio->uio_resid > 0 && error == 0) { iov = uio->uio_iov; if (iov->iov_len == 0) { |