Re: [PATCH v4] x86/tsc: Use topology_max_packages() to get package number

From: Thomas Gleixner
Date: Mon Jul 29 2024 - 08:46:28 EST


On Mon, Jul 29 2024 at 10:12, Feng Tang wrote:
> So use topology_max_packages() to replace nr_online_nodes().
>
> Reported-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/lkml/a4860054-0f16-6513-f121-501048431086@xxxxxxxxx/
> Signed-off-by: Feng Tang <feng.tang@xxxxxxxxx>
> Reviewed-by: Waiman Long <longman@xxxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>