chiark / gitweb /
missing.h: add a cpp warning for __NR_memfd_create on MIPS
authorDaniel Mack <zonque@gmail.com>
Fri, 22 Aug 2014 14:10:02 +0000 (16:10 +0200)
committerDaniel Mack <zonque@gmail.com>
Fri, 22 Aug 2014 14:10:02 +0000 (16:10 +0200)
src/shared/missing.h

index 3051cb5640569126ae7fded8ffb972732c484aa6..a9dd2742745372c72cd14a9ff298419d3a909183 100644 (file)
@@ -168,7 +168,8 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
 #    endif
 #  endif
 #  ifndef __NR_memfd_create
 #    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
 #  endif
 #else
 #  ifndef __NR_fanotify_init