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

2023-05-23 Thread Andrew Donnellan
On Fri, 2023-05-19 at 15:02 +1000, 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. AFAICT, struct thread_struct is defined in

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

2023-05-18 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.