[PATCH] powerpc: Fix circular dependency between percpu.h and mmu.h

Michael Ellerman patch-notifications at ellerman.id.au
Tue Aug 4 23:37:45 AEST 2020


On Tue, 4 Aug 2020 23:05:58 +1000, Michael Ellerman wrote:
> Recently random.h started including percpu.h (see commit
> f227e3ec3b5c ("random32: update the net random state on interrupt and
> activity")), which broke corenet64_smp_defconfig:
> 
>   In file included from /linux/arch/powerpc/include/asm/paca.h:18,
>                    from /linux/arch/powerpc/include/asm/percpu.h:13,
>                    from /linux/include/linux/random.h:14,
>                    from /linux/lib/uuid.c:14:
>   /linux/arch/powerpc/include/asm/mmu.h:139:22: error: unknown type name 'next_tlbcam_idx'
>     139 | DECLARE_PER_CPU(int, next_tlbcam_idx);
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: Fix circular dependency between percpu.h and mmu.h
      https://git.kernel.org/powerpc/c/0c83b277ada72b585e6a3e52b067669df15bcedb

cheers


More information about the Linuxppc-dev mailing list