HomeFreeBSD

LinuxKPI: const argument to irq_set_affinity_hint()

Description

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
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38242

(cherry picked from commit 4c72d075a57e9a3215639aede16df4df29e1c1da)

Details

Provenance
bzAuthored on Jan 28 2023, 4:15 PM
Differential Revision
D38242: LinuxKPI: const argument to irq_set_affinity_hint()
Parents
rG1984e6e4f158: LinuxKPI: mm.h: implement virt_to_head_page()
Branches
Unknown
Tags
Unknown