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

2023-08-30 Thread Michael Ellerman
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 inclu

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

2023-08-21 Thread Christophe Leroy
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_co