]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: interrupt.h: add disable_irq_nosync(), irq_set_status_flags()
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 28 Jan 2023 16:11:59 +0000 (16:11 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 23 Feb 2023 19:31:29 +0000 (19:31 +0000)
commitda2538a136f4ca1f103ef7f9f7485a339e0ae833
treea4b9973fdfe66bba9c5f0e964c74ee87344f6b1f
parent0da06968d3e84c45b6b39b1baedec9a940ed85a6
LinuxKPI: interrupt.h: add disable_irq_nosync(), irq_set_status_flags()

Add a dummy irq_set_status_flags() along with #defines passed by the driver.
Add disable_irq_nosync() as another wrapper to lkpi_disable_irq().
Those are used by wireless drivers.

Sponsored by: The FreeBSD Foundation
Approved by: re (cperciva)
Differential Revision: https://reviews.freebsd.org/D38241

(cherry picked from commit bc81a2b788f5644ece58defa30880b69c9894981)
(cherry picked from commit 75727a02155af29167a6d460de5ce6a9d52e26d8)
sys/compat/linuxkpi/common/include/linux/interrupt.h