summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYasir-Khan <yasir_khan@mentor.com>2016-11-04 19:03:45 +0500
committerNathan Rossi <nathan@nathanrossi.com>2016-11-23 14:29:20 +1000
commit35ac2ee8ea8ad7bc50bb47d696ca0863782ddef5 (patch)
treec2a83270e805ad76a8520014b588b3be4fb942fb
parent4de832d4d608284951554a7fde28d145942f4b71 (diff)
downloadmeta-xilinx-35ac2ee8ea8ad7bc50bb47d696ca0863782ddef5.tar.gz
kernel-module-mali: remove unused trace macros
Based on https://patchwork.kernel.org/patch/6150651/ https://github.com/Xilinx/linux-xlnx/commit/dadb5e41f28f9619debc9aae4ae543aa1dcd5be8 Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--recipes-graphics/mali/kernel-module-mali.bb1
-rw-r--r--recipes-graphics/mali/kernel-module-mali/0001-mali-r5p1-01rel0-Remove-unused-trace-macros.patch38
2 files changed, 39 insertions, 0 deletions
diff --git a/recipes-graphics/mali/kernel-module-mali.bb b/recipes-graphics/mali/kernel-module-mali.bb
index c809243e..4efece39 100644
--- a/recipes-graphics/mali/kernel-module-mali.bb
+++ b/recipes-graphics/mali/kernel-module-mali.bb
@@ -11,6 +11,7 @@ PV = "r5p1-01rel0"
11SRC_URI = " \ 11SRC_URI = " \
12 http://malideveloper.arm.com/downloads/drivers/DX910/${PV}/DX910-SW-99002-${PV}.tgz \ 12 http://malideveloper.arm.com/downloads/drivers/DX910/${PV}/DX910-SW-99002-${PV}.tgz \
13 file://Makefile.patch \ 13 file://Makefile.patch \
14 file://0001-mali-r5p1-01rel0-Remove-unused-trace-macros.patch \
14 " 15 "
15SRC_URI[md5sum] = "9c85c113e4d41ae992e45ba27287d1ab" 16SRC_URI[md5sum] = "9c85c113e4d41ae992e45ba27287d1ab"
16SRC_URI[sha256sum] = "86209c99c36a7622402b016b6f764c212b738ccdec9cdc6d6f16758c013957a0" 17SRC_URI[sha256sum] = "86209c99c36a7622402b016b6f764c212b738ccdec9cdc6d6f16758c013957a0"
diff --git a/recipes-graphics/mali/kernel-module-mali/0001-mali-r5p1-01rel0-Remove-unused-trace-macros.patch b/recipes-graphics/mali/kernel-module-mali/0001-mali-r5p1-01rel0-Remove-unused-trace-macros.patch
new file mode 100644
index 00000000..b7758bed
--- /dev/null
+++ b/recipes-graphics/mali/kernel-module-mali/0001-mali-r5p1-01rel0-Remove-unused-trace-macros.patch
@@ -0,0 +1,38 @@
1From 79e49b32d8d52ac765e6ee30ff7d25b8660bd704 Mon Sep 17 00:00:00 2001
2From: Yasir-Khan <yasir_khan@mentor.com>
3Date: Fri, 4 Nov 2016 18:43:43 +0500
4Subject: [PATCH] mali: r5p1-01rel0: Remove unused trace macros
5
6TRACE_SYSTEM_STRING is not needed in each trace file anymore.
7
8Based on:
9https://patchwork.kernel.org/patch/6150651/
10https://github.com/Xilinx/linux-xlnx/commit/dadb5e41f28f9619debc9aae4ae543aa1dcd5be8
11
12Upstream-status: Pending
13
14Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
15---
16 src/devicedrv/mali/linux/mali_linux_trace.h | 2 --
17 1 file changed, 2 deletions(-)
18
19diff --git a/driver/src/devicedrv/mali/linux/mali_linux_trace.h b/driver/src/devicedrv/mali/linux/mali_linux_trace.h
20index c6cd2bf..195e3cf 100644
21--- a/linux/mali_linux_trace.h
22+++ b/linux/mali_linux_trace.h
23@@ -13,12 +13,10 @@
24
25 #include <linux/types.h>
26
27-#include <linux/stringify.h>
28 #include <linux/tracepoint.h>
29
30 #undef TRACE_SYSTEM
31 #define TRACE_SYSTEM mali
32-#define TRACE_SYSTEM_STRING __stringfy(TRACE_SYSTEM)
33
34 #define TRACE_INCLUDE_PATH .
35 #define TRACE_INCLUDE_FILE mali_linux_trace
36--
372.8.1
38