]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: const argument to irq_set_affinity_hint()
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 28 Jan 2023 16:15:19 +0000 (16:15 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 23 Feb 2023 19:31:45 +0000 (19:31 +0000)
commita6f89b2b5f7e94be6dd14139ff0633526eed9968
tree4cc528da8fc586668b50b08fc2c7f92675132bdd
parent82f8db9d3fddea4eb71e87febe51d808bd9bd219
LinuxKPI: const argument to irq_set_affinity_hint()

irq_set_affinity_hint() takes a const mask argument and some drivers
pass it in as such where earlier implementations were more lenient.
Deal with it and __DECONST() the argument when passed to intr_setaffinity().

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

(cherry picked from commit 4c72d075a57e9a3215639aede16df4df29e1c1da)
(cherry picked from commit 4724e1867e81ab5de2c6b5a6819998b660f3e96d)
sys/compat/linuxkpi/common/include/linux/interrupt.h