summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-09-09 17:00:18 +0300
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-09-09 17:00:18 +0300
commitf877f1d81b2ffcac341ff62ae076d7ad5ba83f46 (patch)
tree59972947210c65a5932c97a2dc76fe44f1b4e451 /rust/helpers/build_bug.c
parente97fb38fa1404abef72bac7de2c5bf2bbab4d93b (diff)
downloadlinux-f877f1d81b2ffcac341ff62ae076d7ad5ba83f46.tar.xz
firewire: core: use mutex to coordinate concurrent calls to flush completions
In current implementation, test_and_set_bit_lock() is used to mediate concurrent calls of ohci_flush_iso_completions(). However, the ad-hoc usage of atomic operations is not preferable. This commit uses mutex_trylock() as the similar operations. The core function is responsible for the mediation, instead of 1394 OHCI driver. Link: https://lore.kernel.org/r/20240909140018.65289-3-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions