diff options
Diffstat (limited to 'recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-suppress-kernel-linux-types.h-inclus.patch')
-rw-r--r-- | recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-suppress-kernel-linux-types.h-inclus.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-suppress-kernel-linux-types.h-inclus.patch b/recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-suppress-kernel-linux-types.h-inclus.patch new file mode 100644 index 00000000..c3315cfc --- /dev/null +++ b/recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-suppress-kernel-linux-types.h-inclus.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 95921ccf77ae037bb3b95f45a632f60975c6c9bb Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@ti.com> | ||
3 | Date: Tue, 11 Feb 2020 17:03:18 -0500 | ||
4 | Subject: [PATCH] mpmdlif.c: don't suppress kernel <linux/types.h> inclusion | ||
5 | |||
6 | Defining _LINUX_TYPES_H before including <linux/keystone_remoteproc.h> causes | ||
7 | <linux/types.h> to skip defining kernel types, resulting in undefined __u32 | ||
8 | |||
9 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
10 | --- | ||
11 | src/daemon/mpmdlif.c | 1 - | ||
12 | 1 file changed, 1 deletion(-) | ||
13 | |||
14 | diff --git a/src/daemon/mpmdlif.c b/src/daemon/mpmdlif.c | ||
15 | index 0c31604..1abd00f 100644 | ||
16 | --- a/src/daemon/mpmdlif.c | ||
17 | +++ b/src/daemon/mpmdlif.c | ||
18 | @@ -46,7 +46,6 @@ | ||
19 | #include <byteswap.h> | ||
20 | #include <stdint.h> | ||
21 | |||
22 | -#define _LINUX_TYPES_H | ||
23 | #include "linux/keystone_remoteproc.h" | ||
24 | #include "internal/rsc_types.h" | ||
25 | //#include <elf.h> | ||
26 | -- | ||
27 | 2.7.4 | ||
28 | |||