aboutsummaryrefslogtreecommitdiffstats
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
meta-xilinx-35ac2ee8ea8ad7bc50bb47d696ca0863782ddef5.tar.bz2
meta-xilinx-35ac2ee8ea8ad7bc50bb47d696ca0863782ddef5.zip
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"
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 00000000..b7758bed
--- /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@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@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
+