There does not seem to be any reason to acquire GIANT here. Follow amd64
in removing it. MFC after: 1 month
This commit is contained in:
parent
7d502f3285
commit
e1e25f45a4
@ -100,8 +100,6 @@ memrw(struct cdev *dev, struct uio *uio, int flags)
|
||||
cnt = 0;
|
||||
error = 0;
|
||||
|
||||
GIANT_REQUIRED;
|
||||
|
||||
while (uio->uio_resid > 0 && !error) {
|
||||
iov = uio->uio_iov;
|
||||
if (iov->iov_len == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user