summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/bpf.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2025-03-14 08:09:42 +0100
committerGuo Ren (Alibaba DAMO Academy) <guoren@kernel.org>2025-10-19 02:54:51 -0400
commit117c537cc7d6ea709f3f370e892c21a7a087ec94 (patch)
treecc8724be963af621568c111096ba61888323ce2c /scripts/gdb/linux/bpf.py
parent809ef03d6d21d5fea016bbf6babeec462e37e68c (diff)
csky: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
While the GCC and Clang compilers already define __ASSEMBLER__ automatically 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. So let's standardize on the __ASSEMBLER__ macro that is provided by the compilers now. This is a completely mechanical patch (done with a simple "sed -i" statement). Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Guo Ren (Alibaba DAMO Academy) <guoren@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/bpf.py')
0 files changed, 0 insertions, 0 deletions