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

From: Pavel Machek
Date: Thu Oct 15 2020 - 16:26:56 EST


On Thu 2020-10-15 20:41:32, Marc Zyngier wrote:
> On 2020-10-15 18:18, Pavel Machek wrote:
> > Hi!
> >
> > > > > 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.
> >
> > I sent config off-list. Let me know if it does not arrive or if you
> > need more info.
>
> Try this for size:
>
> diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig
> index 10a5aff4eecc..db923e0da162 100644
> --- a/kernel/irq/Kconfig
> +++ b/kernel/irq/Kconfig
> @@ -81,6 +81,7 @@ config IRQ_FASTEOI_HIERARCHY_HANDLERS
>
> # Generic IRQ IPI support
> config GENERIC_IRQ_IPI
> + select IRQ_DOMAIN_HIERARCHY
> bool
>
> # Generic MSI interrupt support
>

My OCD prevents me from doing that! :-)...

select needs to be moved line below, for consistency. And yes, this
fixes it for me.

Tested-by: Pavel Machek <pavel@xxxxxx>
Pavel
--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: PGP signature