Re: [PATCH v2 01/12] powerpc/book3s: Add missing include

2023-05-07 Thread Russell Currey
On Thu, 2023-03-30 at 16:50 +1100, Benjamin Gray wrote: > The functions here use struct thread_struct fields, so need to import > the full definition from . The header > that defines current only forward declares struct thread_struct. > > Failing to include this header leads to a compilation >

[PATCH v2 01/12] powerpc/book3s: Add missing include

2023-03-29 Thread Benjamin Gray
The functions here use struct thread_struct fields, so need to import the full definition from . The header that defines current only forward declares struct thread_struct. Failing to include this header leads to a compilation error when a translation unit does not also include indirectly.