kernel: add patch to fix an issue with kernel headers that broke perf
authorFelix Fietkau <nbd@nbd.name>
Sat, 25 Sep 2021 11:52:07 +0000 (13:52 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 25 Sep 2021 12:08:48 +0000 (14:08 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/pending-5.10/101-Use-stddefs.h-instead-of-compiler.h.patch [new file with mode: 0644]

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 (file)
index 0000000..824b944
--- /dev/null
@@ -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>