aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.15/101-Use-stddefs.h-instead-of-compiler.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/pending-5.15/101-Use-stddefs.h-instead-of-compiler.h.patch')
-rw-r--r--target/linux/generic/pending-5.15/101-Use-stddefs.h-instead-of-compiler.h.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/generic/pending-5.15/101-Use-stddefs.h-instead-of-compiler.h.patch b/target/linux/generic/pending-5.15/101-Use-stddefs.h-instead-of-compiler.h.patch
index 824b9444ee..eefbe4b543 100644
--- a/target/linux/generic/pending-5.15/101-Use-stddefs.h-instead-of-compiler.h.patch
+++ b/target/linux/generic/pending-5.15/101-Use-stddefs.h-instead-of-compiler.h.patch
@@ -1,3 +1,16 @@
+From d3c5b26768dbe990c4e1bd79e420c11ce7491d51 Mon Sep 17 00:00:00 2001
+From: OpenWrt community <openwrt-devel@lists.openwrt.org>
+Date: Wed, 13 Jul 2022 11:36:00 +0200
+Subject: [PATCH] swab: use stddefs.h instead of compiler.h
+
+Fix an issue with kernel headers that broke perf.
+
+---
+ include/uapi/linux/swab.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/uapi/linux/swab.h b/include/uapi/linux/swab.h
+index 7272f85d6d6a..3736f2fe1541 100644
--- a/include/uapi/linux/swab.h
+++ b/include/uapi/linux/swab.h
@@ -3,7 +3,7 @@
@@ -9,3 +22,5 @@
#include <asm/bitsperlong.h>
#include <asm/swab.h>
+--
+