]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing: support 32bit powerpc
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Dec 2020 05:51:58 +0000 (14:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Dec 2020 05:51:58 +0000 (14:51 +0900)
src/basic/missing_syscall.h

index 243f2daa51324641d5c6ca8605737c67dc10fafc..cfad9470a2dedf6011ad3559ae9d5055e4adf34d 100644 (file)
@@ -334,7 +334,7 @@ static inline pid_t raw_getpid(void) {
 #  elif _MIPS_SIM == _MIPS_SIM_ABI64
 #    define systemd_NR_renameat2 systemd_SC_arch_bias(311)
 #  endif
-#elif defined(__powerpc64__)
+#elif defined(__powerpc__)
 #  define systemd_NR_renameat2 357
 #elif defined(__s390__) || defined(__s390x__)
 #  define systemd_NR_renameat2 347
@@ -606,7 +606,7 @@ assert_cc(__NR_pkey_mprotect == systemd_NR_pkey_mprotect);
 #  elif _MIPS_SIM == _MIPS_SIM_ABI64
 #    define systemd_NR_statx systemd_SC_arch_bias(326)
 #  endif
-#elif defined(__powerpc64__)
+#elif defined(__powerpc__)
 #  define systemd_NR_statx 383
 #elif defined(__s390__) || defined(__s390x__)
 #  define systemd_NR_statx 379