aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_gen.rs
diff options
context:
space:
mode:
authorThomas Huth <[email protected]>2025-03-14 07:09:54 +0000
committerStafford Horne <[email protected]>2025-06-07 05:44:28 +0000
commitf0eedcf22581ca1cc438fb38a479ff41ab882d51 (patch)
tree9e3281bcbe8063029271c8c68abb1ee941bb7d27 /scripts/rustdoc_test_gen.rs
parentopenrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers (diff)
downloadkernel-f0eedcf22581ca1cc438fb38a479ff41ab882d51.tar.gz
kernel-f0eedcf22581ca1cc438fb38a479ff41ab882d51.zip
openrisc: 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: Jonas Bonn <[email protected]> Cc: Stefan Kristiansson <[email protected]> Cc: Stafford Horne <[email protected]> Cc: [email protected] Signed-off-by: Thomas Huth <[email protected]> Signed-off-by: Stafford Horne <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions