diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-missing.h-add-fake-__NR_memfd_create-for-MIPS.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-missing.h-add-fake-__NR_memfd_create-for-MIPS.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-missing.h-add-fake-__NR_memfd_create-for-MIPS.patch b/meta/recipes-core/systemd/systemd/0001-missing.h-add-fake-__NR_memfd_create-for-MIPS.patch deleted file mode 100644 index 448ef1a917..0000000000 --- a/meta/recipes-core/systemd/systemd/0001-missing.h-add-fake-__NR_memfd_create-for-MIPS.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | Subject: missing.h: add fake __NR_memfd_create for MIPS | ||
4 | |||
5 | We don't have the correct __NR_memfd_create syscall number yet, so set it to | ||
6 | 0xffffffff for now to prevent compile time errors. | ||
7 | |||
8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
9 | --- | ||
10 | src/shared/missing.h | 3 +++ | ||
11 | 1 file changed, 3 insertions(+) | ||
12 | |||
13 | diff --git a/src/shared/missing.h b/src/shared/missing.h | ||
14 | index 3ff1a21..3051cb5 100644 | ||
15 | --- a/src/shared/missing.h | ||
16 | +++ b/src/shared/missing.h | ||
17 | @@ -167,6 +167,9 @@ static inline int pivot_root(const char *new_root, const char *put_old) { | ||
18 | # define __NR_fanotify_mark 5296 | ||
19 | # endif | ||
20 | # endif | ||
21 | +# ifndef __NR_memfd_create | ||
22 | +# define __NR_memfd_create 0xffffffff /* FIXME */ | ||
23 | +# endif | ||
24 | #else | ||
25 | # ifndef __NR_fanotify_init | ||
26 | # define __NR_fanotify_init 338 | ||
27 | -- | ||
28 | 1.9.1 | ||
29 | |||