Re: [PATCH v7 30/49] x86/resctrl: Move get_{mon,ctrl}_domain_from_cpu() to live with their callers

Fenghua Yu
2025-03-06T22:08:12Z

On 2/28/25 11:58, James Morse wrote:
> Each of get_{mon,ctrl}_domain_from_cpu() only has one caller.
>
> Once the filesystem code is moved to /fs/, there is no equivalent to
> core.c.
>
> Move these functions to each live next to their caller. This allows
> them to be made static and teh header file entries to be removed.
>
> Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>

Thanks.

-Fenghua