kernel-ark/arch/parisc
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
..
boot parisc: decompressor: clean up Makefile 2021-11-01 07:36:01 +01:00
configs parisc: Update defconfigs 2021-11-01 07:36:02 +01:00
include parisc: move CPU field back into thread_info 2021-11-04 11:21:47 +01:00
kernel parisc: move CPU field back into thread_info 2021-11-04 11:21:47 +01:00
lib parisc: mark xchg functions notrace 2021-11-01 07:36:00 +01:00
math-emu parisc: math-emu: Fix fall-through warnings 2021-09-01 22:18:18 +02:00
mm parisc: Fix set_fixmap() on PA1.x CPUs 2021-11-01 12:00:22 +01:00
Kbuild parisc: move core-y in arch/parisc/Makefile to arch/parisc/Kbuild 2021-08-30 10:18:25 +02:00
Kconfig parisc: Move thread_info into task struct 2021-11-01 07:35:59 +01:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile parisc: Fix compile failure when building 64-bit kernel natively 2021-09-01 21:52:02 +02:00
defpalo.conf
install.sh parisc: Install vmlinuz instead of zImage file 2020-10-15 08:10:39 +02:00
nm