summaryrefslogtreecommitdiff
path: root/scripts/package-build/linux-kernel/patches/kernel/0004-perf-fix-compile.patch
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-03-05 15:12:38 +0100
committerChristian Breunig <christian@breunig.cc>2026-03-05 15:12:38 +0100
commit41dc49dc00e2f25864182ef56a630ccc4f578f43 (patch)
tree154306f8c8c0dcf2ec56756cbd5e10f0e3e6a1da /scripts/package-build/linux-kernel/patches/kernel/0004-perf-fix-compile.patch
parentca671c3a17bcb2877a50a8d2805e6f98f6fa709e (diff)
downloadvyos-build-41dc49dc00e2f25864182ef56a630ccc4f578f43.tar.gz
vyos-build-41dc49dc00e2f25864182ef56a630ccc4f578f43.zip
Kernel: T8345: Update Linux Kernel to 6.6.128
Diffstat (limited to 'scripts/package-build/linux-kernel/patches/kernel/0004-perf-fix-compile.patch')
-rw-r--r--scripts/package-build/linux-kernel/patches/kernel/0004-perf-fix-compile.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/scripts/package-build/linux-kernel/patches/kernel/0004-perf-fix-compile.patch b/scripts/package-build/linux-kernel/patches/kernel/0004-perf-fix-compile.patch
deleted file mode 100644
index dc3c2614..00000000
--- a/scripts/package-build/linux-kernel/patches/kernel/0004-perf-fix-compile.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From c660a5ee919f01e7c3269ea92baf13741c8aee17 Mon Sep 17 00:00:00 2001
-From: Christian Breunig <christian@breunig.cc>
-Date: Sat, 24 Jan 2026 07:06:05 +0100
-Subject: [PATCH] tools: fix implicit declaration of function cpu_to_le16
-
-After commit 64d86c03e1441742216b6332bdfabfb6ede31662 ("perf arm-spe: Extend
-branch operations") which was also backported to the stable branches, the
-restructuring caused a missing definition.
-
-tools/include/linux/bitops.h implement
-
-define __MAKE_OP(size) \
- ____MAKE_OP(le##size,u##size,cpu_to_le##size,le##size##_to_cpu) \
- ____MAKE_OP(be##size,u##size,cpu_to_be##size,be##size##_to_cpu) \
- ____MAKE_OP(u##size,u##size,,)
-____MAKE_OP(u8,u8,,)
-
-but cpu_to_le## or cpu_to_be## are not defined.
-
-Fix by including linux/kernel.h.
-
----
- tools/include/linux/bitfield.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tools/include/linux/bitfield.h b/tools/include/linux/bitfield.h
-index 6093fa6db260..ddf81f24956b 100644
---- a/tools/include/linux/bitfield.h
-+++ b/tools/include/linux/bitfield.h
-@@ -8,6 +8,7 @@
- #define _LINUX_BITFIELD_H
-
- #include <linux/build_bug.h>
-+#include <linux/kernel.h>
- #include <asm/byteorder.h>
-
- /*
---
-2.39.5
-