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

Reinette Chatre
2025-03-07T04:38:40Z

Hi James,

On 2/28/25 11:58 AM, 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.

"teh" -> "the"

(found by checkpatch.pl --codespell ...)

>
> Signed-off-by: James Morse <james.morse@arm.com>
> ---

| Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>

Reinette