summaryrefslogtreecommitdiffstats
path: root/recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-suppress-kernel-linux-types.h-inclus.patch
diff options
context:
space:
mode:
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.patch28
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 @@
1From 95921ccf77ae037bb3b95f45a632f60975c6c9bb Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com>
3Date: Tue, 11 Feb 2020 17:03:18 -0500
4Subject: [PATCH] mpmdlif.c: don't suppress kernel <linux/types.h> inclusion
5
6Defining _LINUX_TYPES_H before including <linux/keystone_remoteproc.h> causes
7<linux/types.h> to skip defining kernel types, resulting in undefined __u32
8
9Signed-off-by: Denys Dmytriyenko <denys@ti.com>
10---
11 src/daemon/mpmdlif.c | 1 -
12 1 file changed, 1 deletion(-)
13
14diff --git a/src/daemon/mpmdlif.c b/src/daemon/mpmdlif.c
15index 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--
272.7.4
28