]> 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>
Fri, 17 Feb 2023 23:42:14 +0000 (23:42 +0000)
commit75727a02155af29167a6d460de5ce6a9d52e26d8
treec4f4fea02bfa86ffdca961752ea3c41ab99bffcb
parent9df37d74c361f14b8315f7f3b20fe3d813af20ca
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
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38241

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