summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlessio Igor Bogani <abogani@users.noreply.github.com>2016-07-21 11:40:35 +0200
committerLennart Poettering <lennart@poettering.net>2016-07-21 11:40:35 +0200
commit4d07c8d386b6f025c8834d133a54cea40fd7fc6f (patch)
tree6243b50d1cf6c45437ce24a7e3a7ce6e6b4f84bb /src
parent36376e0b71d97e276429e0e6307f116587ac83bd (diff)
missing_syscall: add __NR_copy_file_range for powerpc architecture (#3772)
Diffstat (limited to 'src')
-rw-r--r--src/basic/missing_syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h
index e102083684..e6fd67cb9d 100644
--- a/src/basic/missing_syscall.h
+++ b/src/basic/missing_syscall.h
@@ -279,6 +279,8 @@ static inline key_serial_t request_key(const char *type, const char *description
# define __NR_copy_file_range 391
# elif defined __aarch64__
# define __NR_copy_file_range 285
+# elif defined __powerpc__
+# define __NR_copy_file_range 379
# else
# warning "__NR_copy_file_range not defined for your architecture"
# endif