Home
last modified time | relevance | path

Searched hist:"0 eff1f1a38a95b20fec83d0b69409c8da967fe1e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/lib/
H A Dsbitmap.cdiff 0eff1f1a38a95b20fec83d0b69409c8da967fe1e Sun Nov 22 09:35:48 CST 2020 Pavel Begunkov <asml.silence@gmail.com> sbitmap: simplify wrap check

__sbitmap_get_word() doesn't warp if it's starting from the beginning
(i.e. initial hint is 0). Instead of stashing the original hint just set
@wrap accordingly.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>