Skip to content

Commit bd2e263

Browse files
committed
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 <[email protected]> Acked-by: Mark Rutland <[email protected]> Acked-by: Heiko Carstens <[email protected]>
1 parent 5443f98 commit bd2e263

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/s390/include/asm/thread_info.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
struct thread_info {
3838
unsigned long flags; /* low level flags */
3939
unsigned long syscall_work; /* SYSCALL_WORK_ flags */
40+
unsigned int cpu; /* current CPU */
4041
};
4142

4243
/*

0 commit comments

Comments
 (0)