[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjZo3yj46FwVi0BNKfy5fZ4-UeWkeQ6nhcAbbnKS7K=dQ@mail.gmail.com>
Date: Wed, 3 Nov 2021 21:45:47 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Kees Cook <keescook@...omium.org>,
Ard Biesheuvel <ardb@...nel.org>, Helge Deller <deller@....de>,
linux-parisc <linux-parisc@...r.kernel.org>
Subject: Re: parisc build failures in mainline kernel
On Wed, Nov 3, 2021 at 9:30 PM Guenter Roeck <linux@...ck-us.net> 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
Powered by blists - more mailing lists