[systemd-commits] src/shared
Marcel Holtmann
holtmann at kemper.freedesktop.org
Wed Feb 11 13:20:33 PST 2015
src/shared/missing.h | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit d01efa07444e49aafd78e0aa822168da688d53f5
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Wed Feb 11 22:15:13 2015 +0100
missing: add __NR_getrandom for powerpc architecture
diff --git a/src/shared/missing.h b/src/shared/missing.h
index f8721e6..4cc6fdc 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -177,6 +177,8 @@ static inline int memfd_create(const char *name, unsigned int flags) {
# define __NR_getrandom 352
# elif defined(__s390x__)
# define __NR_getrandom 349
+# elif defined(__powerpc__)
+# define __NR_getrandom 359
# else
# warning "__NR_getrandom unknown for your architecture"
# define __NR_getrandom 0xffffffff
More information about the systemd-commits
mailing list