HomeFreeBSD

xen/intr: remove type argument from xen_intr_alloc_isrc()

Description

xen/intr: remove type argument from xen_intr_alloc_isrc()

This value doesn't need to be set in xen_intr_alloc_isrc(). What is
needed is simply to ensure the allocated xenisrc won't appear as free,
even if xi_type is written non-atomically. Since the type is no longer
used to indicate free or not, the calling function should take care of
all non-architecture initialization.

Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D31188

Details

Provenance
ehem_freebsd_m5p.comAuthored on Jul 2 2021, 3:07 PM
roygerCommitted on Apr 14 2023, 1:58 PM
Reviewer
royger
Differential Revision
D31188: xen/intr: move isrc allocation out of xen_intr_bind_isrc()
Parents
rGd0a69069bb22: xen/x86: rework isrc allocation to use list instead of table scanning
Branches
Unknown
Tags
Unknown