Re: [PATCH 1/2] asm-generic: current: Don't include thread-info.h if building asm

2023-08-19 Thread Arnd Bergmann
On Tue, Jul 4, 2023, at 04:30, David Gow wrote: > asm/current.h is included by some assembly files (either directly, or > indirectly). This works on some architectures (such as x86), as their > implementation of current.h is careful to not include any C, but the > asm-generic version includes linux

Re: [PATCH 1/2] asm-generic: current: Don't include thread-info.h if building asm

2023-08-19 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "davidgow" > asm/current.h is included by some assembly files (either directly, or > indirectly). This works on some architectures (such as x86), as their > implementation of current.h is careful to not include any C, but the > asm-generic version includes lin

[PATCH 1/2] asm-generic: current: Don't include thread-info.h if building asm

2023-07-04 Thread David Gow
asm/current.h is included by some assembly files (either directly, or indirectly). This works on some architectures (such as x86), as their implementation of current.h is careful to not include any C, but the asm-generic version includes linux/thread-info.h unconditionally, which leads to errors wh