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

From: Marc Zyngier
Date: Thu Oct 15 2020 - 11:50:06 EST


On 2020-10-15 15:23, Thomas Gleixner wrote:
On Thu, Oct 15 2020 at 12:12, Pavel Machek wrote:

Cc+ Marc

Thanks Thomas.


I'm getting build problems in 5.10-rc0 in config for n900. ARM board.

CONFIG_SMP=y
CONFIG_SMP_ON_UP=y

On its own, this doesn't break anything with multi_v7_defconfig.



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.

Most probably.

Pawel, can you please stash your config somewhere where I can get it?

Thanks,

M.
--
Jazz is not dead. It just smells funny...