[openwrt/openwrt] kernel: add patch to fix an issue with kernel headers that broke perf

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 25 05:09:04 PDT 2021


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8ea0d08e0e9bc6ea4128048ee0ff90a775581934

commit 8ea0d08e0e9bc6ea4128048ee0ff90a775581934
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sat Sep 25 13:52:07 2021 +0200

    kernel: add patch to fix an issue with kernel headers that broke perf
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../101-Use-stddefs.h-instead-of-compiler.h.patch             | 11 +++++++++++
 1 file changed, 11 insertions(+)

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>
+ 



More information about the lede-commits mailing list