linux-ti-mainline: Update KERNEL_REPRODUCIBILITY_PATCHES for v6.12
PATCH 1/1 linux-ti-mainline: Update KERNEL_REPRODUCIBILITY_PATCHES for v6.12
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 <[email protected]>
--- ...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
meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch new file +32 -0
@@ -0,0 +1,32 @@ +From a51ebf08cec81d84ac258da1c0ead139d6ddc94f Mon Sep 17 00:00:00 2001 +From: Ryan Eatmon <[email protected]> +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 <[email protected]> +--- + 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 +
meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb +1 -0
@@ -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"
Signature · 1 line
2.17.1