mirror-linux/arch/parisc/kernel
Helge Deller 485f0bac83 parisc: Fix crash with nr_cpus=1 option
commit d3b3c637e4 upstream.

John David Anglin reported that giving "nr_cpus=1" on the command
line causes a crash, while "maxcpus=1" works.

Reported-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v5.18+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-10 22:00:44 +02:00
..
syscalls parisc: Align parisc MADV_XXX constants with all other architectures 2023-01-14 10:33:40 +01:00
vdso32 parisc: Add missing FORCE prerequisites in Makefile 2023-01-07 11:11:56 +01:00
vdso64 parisc: Add missing FORCE prerequisites in Makefile 2023-01-07 11:11:56 +01:00
.gitignore
Makefile kbuild: use obj-y instead extra-y for objects placed at the head 2022-10-02 18:04:05 +09:00
alternative.c parisc: Use num_present_cpus() in alternative patching code 2023-05-30 14:03:18 +01:00
asm-offsets.c
audit.c
cache.c parisc: Fix flush_dcache_page() for usage from irq context 2023-05-30 14:03:18 +01:00
compat_audit.c
drivers.c parisc: drivers: Fix sparse warning 2023-10-06 14:56:51 +02:00
entry.S parisc: Fix userspace graphics card breakage due to pgtable special bit 2022-10-14 10:45:12 +02:00
firmware.c parisc: Replace regular spinlock with spin_trylock on panic path 2023-05-24 17:32:42 +01:00
ftrace.c
hardware.c
head.S parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines 2022-08-22 11:09:17 +02:00
hpmc.S
inventory.c
irq.c parisc: irq: Make irq_stack_union static to avoid sparse warning 2023-10-06 14:56:51 +02:00
jump_label.c
kexec.c
kexec_file.c
kgdb.c parisc: Drop duplicate kgdb_pdc console 2023-01-07 11:11:56 +01:00
kprobes.c
module.c
pa7300lc.c
pacache.S parisc: Ensure page alignment in flush functions 2023-05-11 23:03:38 +09:00
parisc_ksyms.c
patch.c
pci-dma.c parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu() 2023-06-21 16:00:53 +02:00
pci.c
pdc_chassis.c
pdc_cons.c parisc: Drop locking in pdc console code 2023-01-07 11:11:56 +01:00
pdt.c
perf.c
perf_asm.S
perf_images.h
process.c parisc: Allow to reboot machine after system halt 2023-05-30 14:03:18 +01:00
processor.c parisc: Fix /proc/cpuinfo output for lscpu 2023-09-13 09:43:02 +02:00
ptrace.c parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case 2023-02-09 11:28:20 +01:00
real2.S parisc: Fix argument pointer in real64_call_asm() 2023-05-11 23:03:38 +09:00
relocate_kernel.S
setup.c parisc: Convert PDC console to an early console 2022-10-11 12:01:24 +02:00
signal.c
signal32.c
signal32.h
smp.c parisc: Fix crash with nr_cpus=1 option 2023-10-10 22:00:44 +02:00
stacktrace.c
sys_parisc.c parisc: sys_parisc: parisc_personality() is called from asm code 2023-09-02 09:16:19 +02:00
sys_parisc32.c
syscall.S
time.c
toc.c
toc_asm.S
topology.c
traps.c parisc: Handle kprobes breakpoints only in kernel context 2023-05-30 14:03:18 +01:00
unaligned.c parisc: Fix exception handler for fldw and fstw instructions 2022-08-21 08:43:09 +02:00
unwind.c
vdso.c treewide: use prandom_u32_max() when possible, part 1 2022-10-11 17:42:55 -06:00
vmlinux.lds.S