[meta-xilinx] [PATCH] kernel-module-mali: remove unused trace macros

Manjukumar Matha manjukumar.harthikote-matha at xilinx.com
Tue Nov 22 13:28:39 PST 2016


From: Yasir-Khan <yasir_khan at mentor.com>

Based on
https://patchwork.kernel.org/patch/6150651/
https://github.com/Xilinx/linux-xlnx/commit/dadb5e41f28f9619debc9aae4ae543aa1dcd5be8

TRACE_SYSTEM_STRING is not need in each trace file anymore.

Signed-off-by: Yasir-Khan <yasir_khan at mentor.com>

Reviewed-by: Hyun Kwon <hyun.kwon at xilinx.com>

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
 recipes-graphics/mali/kernel-module-mali.bb        |  1 +
 ...li-r5p1-01rel0-Remove-unused-trace-macros.patch | 38 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 recipes-graphics/mali/kernel-module-mali/0001-mali-r5p1-01rel0-Remove-unused-trace-macros.patch

diff --git a/recipes-graphics/mali/kernel-module-mali.bb b/recipes-graphics/mali/kernel-module-mali.bb
index c809243..4efece3 100644
--- a/recipes-graphics/mali/kernel-module-mali.bb
+++ b/recipes-graphics/mali/kernel-module-mali.bb
@@ -11,6 +11,7 @@ PV = "r5p1-01rel0"
 SRC_URI = " \
 	http://malideveloper.arm.com/downloads/drivers/DX910/${PV}/DX910-SW-99002-${PV}.tgz \
 	file://Makefile.patch \
+	file://0001-mali-r5p1-01rel0-Remove-unused-trace-macros.patch \
 	"
 SRC_URI[md5sum] = "9c85c113e4d41ae992e45ba27287d1ab"
 SRC_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 0000000..b7758be
--- /dev/null
+++ b/recipes-graphics/mali/kernel-module-mali/0001-mali-r5p1-01rel0-Remove-unused-trace-macros.patch
@@ -0,0 +1,38 @@
+From 79e49b32d8d52ac765e6ee30ff7d25b8660bd704 Mon Sep 17 00:00:00 2001
+From: Yasir-Khan <yasir_khan at mentor.com>
+Date: Fri, 4 Nov 2016 18:43:43 +0500
+Subject: [PATCH] mali: r5p1-01rel0: Remove unused trace macros
+
+TRACE_SYSTEM_STRING is not needed in each trace file anymore.
+
+Based on:
+https://patchwork.kernel.org/patch/6150651/
+https://github.com/Xilinx/linux-xlnx/commit/dadb5e41f28f9619debc9aae4ae543aa1dcd5be8
+
+Upstream-status: Pending
+
+Signed-off-by: Yasir-Khan <yasir_khan at mentor.com>
+---
+ src/devicedrv/mali/linux/mali_linux_trace.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/driver/src/devicedrv/mali/linux/mali_linux_trace.h b/driver/src/devicedrv/mali/linux/mali_linux_trace.h
+index c6cd2bf..195e3cf 100644
+--- a/linux/mali_linux_trace.h
++++ b/linux/mali_linux_trace.h
+@@ -13,12 +13,10 @@
+ 
+ #include <linux/types.h>
+ 
+-#include <linux/stringify.h>
+ #include <linux/tracepoint.h>
+ 
+ #undef  TRACE_SYSTEM
+ #define TRACE_SYSTEM mali
+-#define TRACE_SYSTEM_STRING __stringfy(TRACE_SYSTEM)
+ 
+ #define TRACE_INCLUDE_PATH .
+ #define TRACE_INCLUDE_FILE mali_linux_trace
+-- 
+2.8.1
+
-- 
2.7.4




More information about the meta-xilinx mailing list