Re: 5.10-rc0: build error in ipi.c

From: Thomas Gleixner
Date: Thu Oct 15 2020 - 10:23:19 EST


On Thu, Oct 15 2020 at 12:12, Pavel Machek wrote:

Cc+ Marc

> I'm getting build problems in 5.10-rc0 in config for n900. ARM board.
>
> CONFIG_SMP=y
> CONFIG_SMP_ON_UP=y
>
>
> CC net/devres.o
> kernel/irq/ipi.c: In function ‘irq_reserve_ipi’:
> kernel/irq/ipi.c:84:9: error: implicit declaration of function
> ‘__irq_domain_alloc_irqs’; did you mean ‘irq_domain_alloc_irqs’?
> [-Werror=implicit-function-declaration]
> virq = __irq_domain_alloc_irqs(domain, virq, nr_irqs,
> NUMA_NO_NODE,
> ^~~~~~~~~~~~~~~~~~~~~~~
> irq_domain_alloc_irqs
> cc1: some warnings being treated as errors
> make[2]: *** [scripts/Makefile.build:283:
> kernel/irq/ipi.o] Error 1

That probably comes from the ipi as irq rework for arm/arm64.

Thanks,

tglx