HomeFreeBSD

Change kbdb's kthr::cpu field into an int, to avoid gcc warnings about

Description

Change kbdb's kthr::cpu field into an int, to avoid gcc warnings about
comparing it with NOCPU, which became -1 recently. While here, avoid
using it for address calculations if it is negative.

Reviewed by: jhb, adrian
MFC after: 1 week

Details

Provenance
dimAuthored on
Reviewer
jhb
Parents
rS274390: Use the callout(9) API instead of timeout(9). To do this more cleanly,
Branches
Unknown
Tags
Unknown

Event Timeline