Page MenuHomeFreeBSD

linuxkpi: Implement atomic_dec_and_lock_irqsave()
ClosedPublic

Authored by nc on Apr 26 2021, 1:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 30 2025, 5:52 PM
Unknown Object (File)
Nov 30 2025, 12:20 AM
Unknown Object (File)
Nov 26 2025, 10:48 PM
Unknown Object (File)
Nov 25 2025, 8:29 PM
Unknown Object (File)
Nov 23 2025, 6:14 PM
Unknown Object (File)
Nov 20 2025, 11:10 AM
Unknown Object (File)
Nov 20 2025, 11:10 AM
Unknown Object (File)
Nov 20 2025, 11:02 AM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

nc requested review of this revision.Apr 26 2021, 1:17 AM
hselasky added a subscriber: hselasky.
hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/spinlock.h
169

Don't need brackets around this return.

This revision is now accepted and ready to land.Apr 26 2021, 7:37 AM

Same comment as Hans :)
And please bump FreeBSD_version so we can check this in the drm-devel-kmod in the near futur.

This revision was automatically updated to reflect the committed changes.
sys/compat/linuxkpi/common/include/linux/spinlock.h
173

Parenthesis around return result is fine.