Re: [PATCH] powerpc/64e: Fix circular dependency with CONFIG_SMP disabled

From: Michael Ellerman
Date: Thu Aug 31 2023 - 00:04:50 EST


On Tue, 22 Aug 2023 08:07:50 +0200, Christophe Leroy wrote:
> asm/percpu.h includes asm/paca.h which needs struct tlb_core_data
> which is defined in mmu-e500.h
>
> asm/percpu.h is included from asm/mmu.h in a #ifdef CONFIG_E500
> before the inclusion of mmu-e500.h
>
> To fix that, move the inclusion of asm/percpu.h into mmu-e500.h
> after the definition of struct tlb_core_data
>
> [...]

Applied to powerpc/next.

[1/1] powerpc/64e: Fix circular dependency with CONFIG_SMP disabled
https://git.kernel.org/powerpc/c/0e2a34c467a0de2b0309d033e2700ce608e3fbf4

cheers