Skip to content
Commit 64fdcbcc authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/prom: Fix 32-bit build



Add an IS_ENABLED() check to fix the build error:

arch/powerpc/kernel/prom.o: in function `early_init_dt_scan_cpus':
  prom.c:(.init.text+0x2ea): undefined reference to `boot_cpu_node_count'

Fixes: e13d23a4 ("powerpc: export the CPU node count")
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 98c738c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment