Skip to content

Commit f0bff4e

Browse files
huthmichalsimek
authored andcommitted
microblaze: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
__ASSEMBLY__ is only defined by the Makefile of the kernel, so this is not really useful for uapi headers (unless the userspace Makefile defines it, too). Let's switch to __ASSEMBLER__ which gets set automatically by the compiler when compiling assembly code. This is a completely mechanical patch (done with a simple "sed -i" statement). Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Thomas Huth <thuth@redhat.com> Link: https://lore.kernel.org/r/20250314071013.1575167-18-thuth@redhat.com Signed-off-by: Michal Simek <michal.simek@amd.com>
1 parent 70784d2 commit f0bff4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • arch/microblaze/include/uapi/asm

arch/microblaze/include/uapi/asm/ptrace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#ifndef _UAPI_ASM_MICROBLAZE_PTRACE_H
1111
#define _UAPI_ASM_MICROBLAZE_PTRACE_H
1212

13-
#ifndef __ASSEMBLY__
13+
#ifndef __ASSEMBLER__
1414

1515
typedef unsigned long microblaze_reg_t;
1616

@@ -68,6 +68,6 @@ struct pt_regs {
6868

6969
#endif /* __KERNEL */
7070

71-
#endif /* __ASSEMBLY__ */
71+
#endif /* __ASSEMBLER__ */
7272

7373
#endif /* _UAPI_ASM_MICROBLAZE_PTRACE_H */

0 commit comments

Comments
 (0)