diff options
author | Christophe Leroy <[email protected]> | 2023-08-22 08:07:50 +0200 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-08-23 15:55:21 +1000 |
commit | 0e2a34c467a0de2b0309d033e2700ce608e3fbf4 (patch) | |
tree | a0cf56a4a7499336178540e40243b57445f51d47 /tools/perf/scripts | |
parent | 429356fac0440b962aaa6d3688709813a21dd122 (diff) |
powerpc/64e: Fix circular dependency with CONFIG_SMP disabled
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
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 3a24ea0df83e ("powerpc/kuap: Use ASM feature fixups instead of static branches")
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/5e0f97d5cbcd05238b56b4424ab096468296824d.1692684461.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions