aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-09-25 13:52:07 +0200
committerFelix Fietkau <nbd@nbd.name>2021-09-25 14:08:48 +0200
commit8ea0d08e0e9bc6ea4128048ee0ff90a775581934 (patch)
treedbcafd0ebd76f9eb2ad8a0c15918fe4639f269ed
parentea44aebc27182a8130a9999b4415efa799f9b2ad (diff)
downloadupstream-8ea0d08e0e9bc6ea4128048ee0ff90a775581934.tar.gz
upstream-8ea0d08e0e9bc6ea4128048ee0ff90a775581934.tar.bz2
upstream-8ea0d08e0e9bc6ea4128048ee0ff90a775581934.zip
kernel: add patch to fix an issue with kernel headers that broke perf
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--target/linux/generic/pending-5.10/101-Use-stddefs.h-instead-of-compiler.h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/pending-5.10/101-Use-stddefs.h-instead-of-compiler.h.patch b/target/linux/generic/pending-5.10/101-Use-stddefs.h-instead-of-compiler.h.patch
new file mode 100644
index 0000000000..824b9444ee
--- /dev/null
+++ b/target/linux/generic/pending-5.10/101-Use-stddefs.h-instead-of-compiler.h.patch
@@ -0,0 +1,11 @@
+--- a/include/uapi/linux/swab.h
++++ b/include/uapi/linux/swab.h
+@@ -3,7 +3,7 @@
+ #define _UAPI_LINUX_SWAB_H
+
+ #include <linux/types.h>
+-#include <linux/compiler.h>
++#include <linux/stddef.h>
+ #include <asm/bitsperlong.h>
+ #include <asm/swab.h>
+