chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a7d611f
)
missing.h: add a cpp warning for __NR_memfd_create on MIPS
author
Daniel Mack
<zonque@gmail.com>
Fri, 22 Aug 2014 14:10:02 +0000
(16:10 +0200)
committer
Daniel Mack
<zonque@gmail.com>
Fri, 22 Aug 2014 14:10:02 +0000
(16:10 +0200)
src/shared/missing.h
patch
|
blob
|
history
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index 3051cb5640569126ae7fded8ffb972732c484aa6..a9dd2742745372c72cd14a9ff298419d3a909183 100644
(file)
--- 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
# 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