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

Details

Provenance
bzAuthored on Jan 28 2023, 4:15 PM
Differential Revision
D38242: LinuxKPI: const argument to irq_set_affinity_hint()
Parents
rGbc81a2b788f5: LinuxKPI: interrupt.h: add disable_irq_nosync(), irq_set_status_flags()
Branches
Unknown
Tags
Unknown