History log of /netbsd-src/sys/external/bsd/drm2/linux/linux_wait_bit.c (Results 1 – 5 of 5)
Revision Date Author Comments
# 02f8a9bf 19-Dec-2021 riastradh <riastradh@NetBSD.org>

linux: Fix wait_bit semantics.

- wait_on_bit is supposed to wait until the bit is cleared, not set.

- wait_on_bit_timeout is supposed to return 0 on success, -EAGAIN on
faiure.

Omit wake_up_bit;

linux: Fix wait_bit semantics.

- wait_on_bit is supposed to wait until the bit is cleared, not set.

- wait_on_bit_timeout is supposed to return 0 on success, -EAGAIN on
faiure.

Omit wake_up_bit; nothing uses it and clear_and_wake_up_bit is a more
semantically coherent operation.

show more ...


# b29600b0 19-Dec-2021 riastradh <riastradh@NetBSD.org>

linux: Add clear_and_wake_up_bit.


# d602960f 19-Dec-2021 riastradh <riastradh@NetBSD.org>

wait_on_bit


# 99922f3f 19-Dec-2021 riastradh <riastradh@NetBSD.org>

Fix thinko: ERESTART, not EWOULDBLOCK.


# 7319b3e1 19-Dec-2021 riastradh <riastradh@NetBSD.org>

linux/wait_bit.h