HomeFreeBSD

LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)

Description

LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)

in seqcount_mutex_t case with removal of extraneous mutex lock/unlock
calls and addition of missing critical section.
While here strip one inline wrap layer to reduce code size.

Fixes startup lockup of i915kms after update to drm-kmod v5.12

Reviewed by: hselasky, bz
MFC after: 1week
Differential Revision: https://reviews.freebsd.org/D37699

Details

Provenance
wulfAuthored on Dec 24 2022, 9:01 AM
Reviewer
hselasky
Differential Revision
D37699: LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)
Parents
rG0661cf74e6e5: hms(4): Disable vendor usage page button support
Branches
Unknown
Tags
Unknown