NetBSD/sys/external
martin af56efbd87 Pull up following revision(s) (requested by riastradh in ticket #1696):
sys/external/bsd/drm2/linux/linux_ww_mutex.c: revision 1.15

drm/linux_ww_mutex: Fix wait loops.

If cv_wait_sig returns because a signal is delivered, we may
nonetheless have been granted the lock.  It is harmless for us to
ignore this fact in three of the four paths, but in
ww_mutex_state_wait_sig, we may now have ownership of the lock and
MUST NOT return failure because the caller MUST release the lock
before destroying the ww_acquire_ctx.

While here, restructure the other three loops for clarity, so they
match the structure of the fourth and so they have a little less
impenetrable negation.

PR kern/57537
2023-08-01 17:26:28 +00:00
..
bsd Pull up following revision(s) (requested by riastradh in ticket #1696): 2023-08-01 17:26:28 +00:00
gpl2/dts Pull up following revision(s) (requested by rin in ticket #107): 2019-08-26 13:36:00 +00:00
isc/atheros_hal
mit/xen-include-public/dist/xen/include/public Pull up following revision(s) (requested by bouyer in ticket #935): 2020-05-31 10:39:34 +00:00