LoongArch: Replace __loongarch64 with __loongarch_lp64
`__loongarch64` is no longer used for historical reasons and should be replaced by `__loongarch_lp64` in new code. https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html#_cc_preprocessor_built_in_macro_definitions
This commit is contained in:
@@ -59,7 +59,7 @@ DEF_TEMPLATE_B = '''\
|
||||
# define systemd_NR_{syscall} {nr_i386}
|
||||
# elif defined(__ia64__)
|
||||
# define systemd_NR_{syscall} {nr_ia64}
|
||||
# elif defined(__loongarch64)
|
||||
# elif defined(__loongarch_lp64)
|
||||
# define systemd_NR_{syscall} {nr_loongarch64}
|
||||
# elif defined(__m68k__)
|
||||
# define systemd_NR_{syscall} {nr_m68k}
|
||||
|
||||
Reference in New Issue
Block a user