[xarray] iov_iter_npages(): just use DIV_ROUND_UP()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 3 May 2021 15:05:29 +0000 (11:05 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 Jun 2021 15:45:13 +0000 (11:45 -0400)
commite4f8df86798aea60aff6cfff40252b709431f850
treef80d1ce812a3909f37d16af66c1bfe0215d85582
parent66531c65aa254e77c935785036beb50985d0fe89
[xarray] iov_iter_npages(): just use DIV_ROUND_UP()

Compiler is capable of recognizing division by power of 2 and turning
it into shifts.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
lib/iov_iter.c