Files
linux/arch/parisc/include/asm
Ard Biesheuvel 2a2e8202c7 parisc: move CPU field back into thread_info
In commit 2214c0e772 ("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 <linux@roeck-us.net>
Fixes: bcf9033e54 ("sched: move CPU field back into thread_info if THREAD_INFO_IN_TASK=y")
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
2021-11-04 11:21:47 +01:00
..
2021-10-18 07:49:36 -04:00
2021-09-08 15:32:35 -07:00
2019-09-08 15:37:04 +02:00
2019-05-03 23:47:41 +02:00
2021-05-07 00:26:34 -07:00
2021-10-30 23:11:00 +02:00
2019-05-03 23:47:38 +02:00
2019-07-21 11:01:55 +02:00
2019-02-21 20:37:12 +01:00
2019-06-25 14:52:26 +02:00
2019-07-16 19:23:24 -07:00
2019-05-03 23:47:41 +02:00
2017-11-17 15:27:22 +01:00
2019-07-17 23:11:28 +02:00