Page MenuHomeFreeBSD

powerpc: remove nexus_get_cpus()
ClosedPublic

Authored by mhorne on Feb 10 2023, 5:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 29, 1:15 PM
Unknown Object (File)
Sun, Sep 29, 4:16 AM
Unknown Object (File)
Thu, Sep 26, 1:46 PM
Unknown Object (File)
Sat, Sep 21, 4:00 AM
Unknown Object (File)
Wed, Sep 18, 1:05 PM
Unknown Object (File)
Mon, Sep 2, 7:27 AM
Unknown Object (File)
Aug 18 2024, 4:49 AM
Unknown Object (File)
Aug 11 2024, 10:01 AM
Subscribers
None

Details

Summary

It is identical in functionality to root_get_cpus().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mhorne created this revision.
sys/powerpc/powerpc/nexus.c
222

This one does return all_cpus so is a duplicate.

sys/x86/x86/nexus.c
709 ↗(On Diff #116951)

root_get_cpus returns all_cpus here, not intr_cpus. The difference is that intr_cpus doesn't include SMT threads.

sys/x86/x86/nexus.c
709 ↗(On Diff #116951)

Oh indeed, I read that a bit too fast.

mhorne retitled this revision from nexus: remove nexus_get_cpus() to powerpc: remove nexus_get_cpus().Feb 13 2023, 5:39 PM
mhorne edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Feb 15 2023, 2:24 PM
This revision was automatically updated to reflect the committed changes.