From 35ac2ee8ea8ad7bc50bb47d696ca0863782ddef5 Mon Sep 17 00:00:00 2001 From: Yasir-Khan Date: Fri, 4 Nov 2016 19:03:45 +0500 Subject: 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 Reviewed-by: Hyun Kwon Signed-off-by: Manjukumar Matha Signed-off-by: Nathan Rossi --- 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 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 +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 +--- + 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 + +-#include + #include + + #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 + -- cgit v1.2.3-54-g00ecf