missing_syscall: add __NR_copy_file_range for powerpc architecture (#3772)
authorAlessio Igor Bogani <abogani@users.noreply.github.com>
Thu, 21 Jul 2016 09:40:35 +0000 (11:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jul 2016 09:40:35 +0000 (11:40 +0200)
src/basic/missing_syscall.h

index e102083..e6fd67c 100644 (file)
@@ -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