From f973c347e8b26f6d54ab949ace945a36ac03ef34 Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Mon, 16 Dec 2024 12:21:58 -0600 Subject: 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 --- ...rf-python-Fix-compile-for-32bit-platforms.patch | 32 ++++++++++++++++++++++ .../recipes-kernel/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 --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 +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 +--- + 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 + #include +-- +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" -- cgit v1.2.3-54-g00ecf