original_kernel/arch/xtensa/kernel
Max Filippov 25384ce5f9 xtensa: SMP: limit number of possible CPUs by NR_CPUS
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>
2019-01-27 10:04:30 -08:00
..
syscalls
.gitignore
Makefile xtensa: implement jump_label support 2018-12-20 14:44:38 -08:00
align.S
asm-offsets.c
coprocessor.S
entry.S xtensa: call do_syscall_trace_{enter,leave} selectively 2018-12-17 13:48:21 -08:00
head.S xtensa: SMP: fix secondary CPU initialization 2019-01-26 02:02:13 -08:00
hw_breakpoint.c
irq.c
jump_label.c jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
mcount.S
module.c
mxhead.S
pci-dma.c dma-mapping: zero memory returned from dma_alloc_* 2018-12-20 08:13:52 +01:00
pci.c
perf_event.c
platform.c
process.c xtensa: enable CORE_DUMP_USE_REGSET 2018-12-17 13:48:22 -08:00
ptrace.c xtensa: implement syscall tracepoints 2018-12-17 13:50:25 -08:00
s32c1i_selftest.c
setup.c
signal.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
smp.c xtensa: SMP: limit number of possible CPUs by NR_CPUS 2019-01-27 10:04:30 -08:00
stacktrace.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
syscall.c xtensa: implement syscall tracepoints 2018-12-17 13:50:25 -08:00
time.c xtensa: SMP: fix ccount_timer_shutdown 2019-01-24 16:01:07 -08:00
traps.c
vectors.S
vmlinux.lds.S
xtensa_ksyms.c