]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390: Move CIF flags to struct pcpu
authorSven Schnelle <svens@linux.ibm.com>
Tue, 16 Jul 2024 07:26:15 +0000 (09:26 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 23 Jul 2024 14:02:31 +0000 (16:02 +0200)
commitd3604ffba1521f59f312be3f19999084dddef446
treea99f3f5e6dc0f82eaadd62f90c3704f8beca5c32
parent90fc5ac28235843b1d5070c5dac9b01e7d39b24c
s390: Move CIF flags to struct pcpu

To allow testing flags for offline CPUs, move the CIF flags
to struct pcpu. To avoid having to calculate the array index
for each access, add a pointer to the pcpu member for the current
cpu to lowcore.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/lowcore.h
arch/s390/include/asm/processor.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/entry.S
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c