diff options
| author | Thomas Huth <thuth@redhat.com> | 2026-09-22 08:46:41 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2026-09-22 10:08:38 +0200 |
| commit | a9b3c7570564de40acb0998ab85c89d546b2122f (patch) | |
| tree | e47fec5cdae5e86676869c86f73c8b9e84d2ab7e /kernel/fail_function.c | |
| parent | e81ee06308379a5f2ededf997bcf17551bce5db7 (diff) | |
| download | linux-next-a9b3c7570564de40acb0998ab85c89d546b2122f.tar.gz linux-next-a9b3c7570564de40acb0998ab85c89d546b2122f.zip | |
sched/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in the <uapi/linux/sched.h> header
While the GCC and Clang compilers already define __ASSEMBLER__ auto-
matically when compiling assembly code, __ASSEMBLY__ is a macro that
only gets defined by the Makefiles in the kernel. This can be very
confusing when switching between userspace and kernelspace coding, or
when dealing with uapi headers that rather should use __ASSEMBLER__
instead. Let's standardize now on the __ASSEMBLER__ macro to avoid
this confusion.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://patch.msgid.link/20260922064641.61120-1-thuth@redhat.com
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions
