s390/smp: __smp_rescan_cpus() - move cpumask away from stack
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 17 Feb 2021 06:13:02 +0000 (07:13 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 23 Feb 2021 23:31:22 +0000 (00:31 +0100)
commit62c8dca9e194326802b43c60763f856d782b225c
tree360fe02c74850482dfa203e4dc2fe36df9195a10
parent588a079ebd6297dc225c8bba717a71a8065e1a4b
s390/smp: __smp_rescan_cpus() - move cpumask away from stack

Avoid a potentially large stack frame and overflow by making
"cpumask_t avail" a static variable. There is no concurrent
access due to the existing locking.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/smp.c