HomeFreeBSD

g_eli: better handling of absent/disabled CPUs

Description

g_eli: better handling of absent/disabled CPUs

Checking hlt_cpus_mask is a no-op, and the mask will be removed in the
next commit. However, we can use the more recent CPU_ABSENT() macro to
check the status.

Reviewed by: olce
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58157

(cherry picked from commit 63d4f044225d1bb86767759b18c0ae63b25a9c03)

Details

Provenance
mhorneAuthored on Jul 13 2026, 7:15 PM
Reviewer
olce
Differential Revision
D58157: g_eli: better handling of absent/disabled CPUs
Parents
rG3ef9ef5147d2: libkern.h: remove HAVE_INLINE_* macros
Branches
Unknown
Tags
Unknown