Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390: add CPU field to struct thread_info

The CPU field will be moved back into thread_info even when
THREAD_INFO_IN_TASK is enabled, so add it back to s390's definition of
struct thread_info.

Note that s390 always has CONFIG_SMP=y so there is no point in guarding
the CPU field with an #ifdef.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>

+1
+1
arch/s390/include/asm/thread_info.h
··· 37 37 struct thread_info { 38 38 unsigned long flags; /* low level flags */ 39 39 unsigned long syscall_work; /* SYSCALL_WORK_ flags */ 40 + unsigned int cpu; /* current CPU */ 40 41 }; 41 42 42 43 /*