Re: [PATCH V2] irqchip/loongson-eiointc: Use early_cpu_to_node() instead of cpu_to_node()
From: Thomas Gleixner
Date: Fri Jun 21 2024 - 16:42:58 EST
On Thu, Jun 20 2024 at 10:06, Huacai Chen wrote:
> When we use "nr_cpus=n" to hard limit the CPU number, cpu_to_node() is
> not usable because it can only applied on "possible" CPUs. On the other
> hand, early_cpu_to_node() can be always used instead.
We use nothing...
Aside of that you fail to explain what the problem is (i.e. the
malfunction) and why using early_cpu_to_node() is fixing it.
> #define pr_fmt(fmt) "eiointc: " fmt
>
> +#include <asm/numa.h>
asm includes come after the linux includes.
> #include <linux/cpuhotplug.h>
Thanks,
tglx