From: Yu Watanabe Date: Tue, 8 Dec 2020 05:51:58 +0000 (+0900) Subject: missing: support 32bit powerpc X-Git-Tag: v248-rc1~544^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86b863743550f22d3315c88e83277b676aa1c45d;p=thirdparty%2Fsystemd.git missing: support 32bit powerpc --- diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 243f2daa513..cfad9470a2d 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