Skip to content

Commit 852947b

Browse files
author
Paul Walmsley
committed
riscv: kprobes: convert one final __ASSEMBLY__ to __ASSEMBLER__
Per the reasoning in commit f811f58 ("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>
1 parent 7882d2c commit 852947b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/riscv/kernel/tests/kprobes/test-kprobes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
#define KPROBE_TEST_MAGIC_LOWER 0x0000babe
1212
#define KPROBE_TEST_MAGIC_UPPER 0xcafe0000
1313

14-
#ifndef __ASSEMBLY__
14+
#ifndef __ASSEMBLER__
1515

1616
/* array of addresses to install kprobes */
1717
extern void *test_kprobes_addresses[];
1818

1919
/* array of functions that return KPROBE_TEST_MAGIC */
2020
extern long (*test_kprobes_functions[])(void);
2121

22-
#endif /* __ASSEMBLY__ */
22+
#endif /* __ASSEMBLER__ */
2323

2424
#endif /* TEST_KPROBES_H */

0 commit comments

Comments
 (0)