linux-next: build failure after merge of the bitmap tree
From: Thierry Reding
Date: Thu Apr 30 2026 - 05:12:38 EST
Hi all,
After merging the bitmap tree, today's linux-next build (x86_64
allnoconfig) failed like this:
ld: arch/x86/events/intel/core.o: in function `intel_hybrid_get_attr_cpus':
core.c:(.text+0x944): undefined reference to `cpumap_print_to_pagebuf'
ld: kernel/events/core.o: in function `cpumask_show':
core.c:(.text+0xcb8): undefined reference to `cpumap_print_to_pagebuf'
ld: drivers/base/cpu.o: in function `show_cpus_attr':
cpu.c:(.text+0x280): undefined reference to `cpumap_print_to_pagebuf'
Caused by commit
6d3a0b07f271 ("cpumask: switch cpumap_print_to_pagebuf() to using scnprintf()")
This seems to be caused by the new function not being available for
!CONFIG_SMP configurations, whereas previously it was a static inline
function and hence present irrespective of configuration.
I've fixed this up for today by reverting the following patches:
af327141d0dd ("bitmap: drop bitmap_print_to_pagebuf()")
6d3a0b07f271 ("cpumask: switch cpumap_print_to_pagebuf() to using scnprintf()")
Please fix this properly in the bitmap tree.
Thierry