From 86b863743550f22d3315c88e83277b676aa1c45d Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 8 Dec 2020 14:51:58 +0900 Subject: [PATCH] missing: support 32bit powerpc --- src/basic/missing_syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 243f2daa51..cfad9470a2 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -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