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)
Sat, Jan 18, 5:57 PM
Unknown Object (File)
Sun, Jan 12, 2:18 PM
Unknown Object (File)
Nov 23 2024, 9:18 PM
Unknown Object (File)
Nov 20 2024, 11:06 AM
Unknown Object (File)
Nov 18 2024, 1:32 PM
Unknown Object (File)
Nov 18 2024, 1:10 PM
Unknown Object (File)
Oct 5 2024, 12:32 AM
Unknown Object (File)
Oct 3 2024, 8:10 PM
Subscribers
None

Details

Summary

It is identical in functionality to root_get_cpus().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 49670
Build 46560: arc lint + arc unit

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

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

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.