HomeFreeBSD

Remove assertion that a CPU be present before returning a PCPU for it. It

Description

Remove assertion that a CPU be present before returning a PCPU for it. It
is up to the caller to check for a NULL return value. The assert was meant
to catch buggy code that did not check the return value. Some code, however,
was smart and used the return value to see if a CPU existed, which this
broke.

Requested by: jhb@

Details

Provenance
nwhitehornAuthored on
Parents
rS326307: Update vis(3) the latest from NetBSD.
Branches
Unknown
Tags
Unknown