diff options
| author | Ard Biesheuvel <[email protected]> | 2021-11-04 08:26:28 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2021-11-04 10:21:47 +0000 |
| commit | 2a2e8202c7a16a85a881ad2b6e32ccbebdc01dda (patch) | |
| tree | 158d0d1dd2d9e7d7a54a19e97e69f5780b4ec6ef /fs/ext4/fast_commit.c | |
| parent | parisc: Don't disable interrupts in cmpxchg and futex operations (diff) | |
| download | kernel-2a2e8202c7a16a85a881ad2b6e32ccbebdc01dda.tar.gz kernel-2a2e8202c7a16a85a881ad2b6e32ccbebdc01dda.zip | |
parisc: move CPU field back into thread_info
In commit 2214c0e77259 ("parisc: Move thread_info into task struct")
PA-RISC gained support for THREAD_INFO_IN_TASK while changes were
already underway to keep the CPU field in thread_info rather than move
it into task_struct when THREAD_INFO_IN_TASK is enabled. The result is a
broken build for all PA-RISC configs that enable SMP.
So let's partially revert that commit, and get rid of the ugly hack to
get at the offset of task_struct::cpu without having to include
linux/sched.h, and put the CPU field back where it was before.
Reported-by: Guenter Roeck <[email protected]>
Fixes: bcf9033e5449 ("sched: move CPU field back into thread_info if THREAD_INFO_IN_TASK=y")
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
