]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: kprobes: convert one final __ASSEMBLY__ to __ASSEMBLER__
authorPaul Walmsley <pjw@kernel.org>
Fri, 10 Oct 2025 21:50:24 +0000 (15:50 -0600)
committerPaul Walmsley <pjw@kernel.org>
Fri, 10 Oct 2025 22:04:25 +0000 (16:04 -0600)
Per the reasoning in commit f811f58597ac ("riscv: Replace __ASSEMBLY__
with __ASSEMBLER__ in non-uapi headers"), convert one last remaining
instance of __ASSEMBLY__ in the arch/riscv kprobes code.  This entered
the tree from patches that were sent before Thomas' changes; and when
I reviewed the kprobes patches before queuing them, I missed this
instance.

Cc: Nam Cao <namcao@linutronix.dev>
Cc: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/linux-riscv/16b74b63-f223-4f0b-b6e5-31cea5e620b4@redhat.com/
Link: https://lore.kernel.org/linux-riscv/20250606070952.498274-1-thuth@redhat.com/
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/tests/kprobes/test-kprobes.h

index 3886ab491ecba390292e079e9338bb8ae4f69611..537f44aa9d3f009f87a25f0ec8d687eb717cae8a 100644 (file)
@@ -11,7 +11,7 @@
 #define KPROBE_TEST_MAGIC_LOWER    0x0000babe
 #define KPROBE_TEST_MAGIC_UPPER    0xcafe0000
 
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
 
 /* array of addresses to install kprobes */
 extern void *test_kprobes_addresses[];
@@ -19,6 +19,6 @@ extern void *test_kprobes_addresses[];
 /* array of functions that return KPROBE_TEST_MAGIC */
 extern long (*test_kprobes_functions[])(void);
 
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
 
 #endif /* TEST_KPROBES_H */