summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2025-03-14 08:09:52 +0100
committerDinh Nguyen <dinguyen@kernel.org>2025-08-25 05:50:28 -0500
commite6d8afd2ca731105bf7eba69a61c668fead9cf48 (patch)
tree6c7c1577e23b21127fe49d53dd8b64ef9d7a6a75 /scripts/generate_rust_analyzer.py
parent331b05b12d25cd2d2f2d7c4114e9ee15146dafd0 (diff)
nios2: 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). Cc: Dinh Nguyen <dinguyen@kernel.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions