Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dsbitmap.c0eff1f1a 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>