summaryrefslogtreecommitdiff
path: root/src/basic/missing_syscall.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-12-08 14:51:58 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-12-08 14:51:58 +0900
commit86b863743550f22d3315c88e83277b676aa1c45d (patch)
tree5b55cec4faf69f86979aaecd34014b451c81013e /src/basic/missing_syscall.h
parentb8bcd4c69fe658d5dcb3035fdb6c2704c3a761b4 (diff)
downloadsystemd-86b863743550f22d3315c88e83277b676aa1c45d.tar.gz
missing: support 32bit powerpc
Diffstat (limited to 'src/basic/missing_syscall.h')
-rw-r--r--src/basic/missing_syscall.h4
1 files 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