diff options
author | Thomas Gleixner <[email protected]> | 2024-02-13 22:06:10 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-02-15 22:07:45 +0100 |
commit | 3205c9833d69b97e8694efe3e193312dea4c571f (patch) | |
tree | 8d15d470f15dcf272831365b1844c0ad522b8daf /lib/netdev-notifier-error-inject.c | |
parent | 380414be78bf8dbe1c3ed98feb75e2579c4a1bae (diff) |
x86/cpu/topology: Retrieve cores per package from topology bitmaps
Similar to other sizing information the number of cores per package can be
established from the topology bitmap.
Provide a function for retrieving that information and replace the buggy
hack in the CPUID evaluation with it.
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Michael Kelley <[email protected]>
Tested-by: Sohil Mehta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions