mirror of
https://github.com/torvalds/linux.git
synced 2025-11-04 18:49:34 +02:00
This fixes the following warning at boot when the kernel is booted on a board with more CPU cores than was configured in NR_CPUS: smp_init_cpus: Core Count = 8 smp_init_cpus: Core Id = 0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at include/linux/cpumask.h:121 smp_init_cpus+0x54/0x74 Modules linked in: CPU: 0 PID: 0 Comm: swapper Not tainted 5.0.0-rc3-00015-g1459333f88a0 #124 Call Trace: __warn$part$3+0x6a/0x7c warn_slowpath_null+0x35/0x3c smp_init_cpus+0x54/0x74 setup_arch+0x1c0/0x1d0 start_kernel+0x44/0x310 _startup+0x107/0x107 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> |
||
|---|---|---|
| .. | ||
| syscalls | ||
| .gitignore | ||
| align.S | ||
| asm-offsets.c | ||
| coprocessor.S | ||
| entry.S | ||
| head.S | ||
| hw_breakpoint.c | ||
| irq.c | ||
| jump_label.c | ||
| Makefile | ||
| mcount.S | ||
| module.c | ||
| mxhead.S | ||
| pci-dma.c | ||
| pci.c | ||
| perf_event.c | ||
| platform.c | ||
| process.c | ||
| ptrace.c | ||
| s32c1i_selftest.c | ||
| setup.c | ||
| signal.c | ||
| smp.c | ||
| stacktrace.c | ||
| syscall.c | ||
| time.c | ||
| traps.c | ||
| vectors.S | ||
| vmlinux.lds.S | ||
| xtensa_ksyms.c | ||