Re: parisc build failures in mainline kernel
From: Linus Torvalds
Date: Thu Nov 04 2021 - 00:46:11 EST
On Wed, Nov 3, 2021 at 9:30 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> Unfortunately not. With that patch it complains about task_struct.
Gaah. You'll need something like this too
- DEFINE(TASK_CPU, offsetof(struct task_struct, cpu));
+ DEFINE(TASK_CPU, offsetof(struct task_struct, thread_info.cpu));
in arch/parisc/kernel/asm-offsets.c.
And really, it should probably be renamed as TASK_TI_CPU, but then you
have to rename all the uses too.
There might be other details like that lurking.
Linus