]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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 e102083684329e1381e2fcb0109991d675475b35..e6fd67cb9d2e6ce391b0fdc61e9a13d1eac31e06 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