diff mbox series

[meta-ti,master] linux-ti-mainline: Update KERNEL_REPRODUCIBILITY_PATCHES for v6.12

Message ID 20241216182339.22232-1-reatmon@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series [meta-ti,master] linux-ti-mainline: Update KERNEL_REPRODUCIBILITY_PATCHES for v6.12 | expand

Commit Message

Ryan Eatmon Dec. 16, 2024, 6:23 p.m. UTC
The script that sends the automated patch does not currently handle
updating the KERNEL_REPRODUCIBILITY_PATCHES variable with the changes in
the patches.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 ...thon-Fix-compile-for-32bit-platforms.patch | 32 +++++++++++++++++++
 .../linux/linux-ti-mainline_git.bb            |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch b/meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch
new file mode 100644
index 00000000..12e12c68
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch
@@ -0,0 +1,32 @@ 
+From a51ebf08cec81d84ac258da1c0ead139d6ddc94f Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <reatmon@ti.com>
+Date: Tue, 2 Jul 2024 11:07:14 -0500
+Subject: [master][PATCH] perf python: Fix compile for 32bit platforms
+
+The definition for perf_sample is missing on 32bit compiles:
+
+tools/perf/util/python.c:75:28: error: field 'sample' has incomplete type
+   75 |         struct perf_sample sample;
+
+Adding #include "sample.h" fixes it.
+
+Upstream-Status: Inappropriate
+
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+---
+ tools/perf/util/python.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c
+index 3be882b2e845..de64ca3cf2d1 100644
+--- a/tools/perf/util/python.c
++++ b/tools/perf/util/python.c
+@@ -1,3 +1,5 @@
++#include "sample.h"
++
+ // SPDX-License-Identifier: GPL-2.0
+ #include <Python.h>
+ #include <structmember.h>
+-- 
+2.17.1
+
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb
index 803db1fd..b4ec47bc 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb
@@ -24,6 +24,7 @@  KERNEL_DEFCONFIG = ""
 
 KERNEL_REPRODUCIBILITY_PATCHES = " \
     file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
+    file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \
 "
 
 DEFCONFIG_NAME = "multi_v7_defconfig"