Page MenuHomeFreeBSD

linuxkpi: Add spin_trylock_irqsave() macro
Needs ReviewPublic

Authored by nc on Wed, Jun 9, 6:19 PM.

Details

Reviewers
bz
manu
hselasky
Group Reviewers
linuxkpi
Summary

This is needed by the drm-kmod 5.7 update

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

nc requested review of this revision.Wed, Jun 9, 6:19 PM

Please explain what it does and why it's needed.

On Linux, spin_trylock_irqsave() is used when you want to save the IRQ before doing a trylock, however we aren't doing this as we do in spin_trylock_irq(). This is called in the i915 part of the drm-kmod 5.7 update.