opnsense-src/sys/compat/linuxkpi/common/include
Vladimir Kondratyev c77ec79b57 LinuxKPI: Change flags parameter type of atomic_dec_and_lock_irqsave
On Linux atomic_dec_and_lock_irqsave is a wrapper macro which provides
a reference to third parameter rather than parameter value itself to
implementation routine called _atomic_dec_and_lock_irqsave [1].

While here, implement a fast path.

[1] https://github.com/torvalds/linux/blob/master/include/linux/spinlock.h#L476

Reviewed by:	hselasky
Differential revision:	https://reviews.freebsd.org/D30781
2021-07-05 03:19:01 +03:00
..
acpi LinuxKPI: Implement ACPI bits required by drm-kmod in base system 2020-11-09 13:20:14 +00:00
asm LinuxKPI: byteorder.h 2021-05-25 18:01:48 +00:00
linux LinuxKPI: Change flags parameter type of atomic_dec_and_lock_irqsave 2021-07-05 03:19:01 +03:00
net net80211/LinuxKPI: add more radiotap definitions 2021-06-05 16:21:49 +00:00