summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-08-22 16:10:02 +0200
committerDaniel Mack <zonque@gmail.com>2014-08-22 16:10:02 +0200
commit2de1851fe3611c59abf77127c6b5bc1b91eb7cba (patch)
tree00463a270a410701d1cda484303317a96e4655c8 /src
parenta7d611f280b3eadafd6b411b659a321b4d6e63f4 (diff)
missing.h: add a cpp warning for __NR_memfd_create on MIPS
Diffstat (limited to 'src')
-rw-r--r--src/shared/missing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 3051cb5640..a9dd274274 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