[systemd-commits] src/shared

Daniel Mack zonque at kemper.freedesktop.org
Fri Aug 22 07:10:50 PDT 2014


 src/shared/missing.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2de1851fe3611c59abf77127c6b5bc1b91eb7cba
Author: Daniel Mack <zonque at gmail.com>
Date:   Fri Aug 22 16:10:02 2014 +0200

    missing.h: add a cpp warning for __NR_memfd_create on MIPS

diff --git a/src/shared/missing.h b/src/shared/missing.h
index 3051cb5..a9dd274 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -168,7 +168,8 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
 #    endif
 #  endif
 #  ifndef __NR_memfd_create
-#    define __NR_memfd_create 0xffffffff /* FIXME */
+#    warning "__NR_memfd_create not yet defined for MIPS"
+#    define __NR_memfd_create 0xffffffff
 #  endif
 #else
 #  ifndef __NR_fanotify_init



More information about the systemd-commits mailing list