From 213042bba186b995bc2f25c8c2d06a9652177fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 27 Sep 2022 17:09:49 +0200 Subject: Import Turris OS kernel patches --- ...-swab-use-stddefs.h-instead-of-compiler.h.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 nixos/modules/kernel-patches/0028-swab-use-stddefs.h-instead-of-compiler.h.patch (limited to 'nixos/modules/kernel-patches/0028-swab-use-stddefs.h-instead-of-compiler.h.patch') diff --git a/nixos/modules/kernel-patches/0028-swab-use-stddefs.h-instead-of-compiler.h.patch b/nixos/modules/kernel-patches/0028-swab-use-stddefs.h-instead-of-compiler.h.patch new file mode 100644 index 0000000..2b49bb8 --- /dev/null +++ b/nixos/modules/kernel-patches/0028-swab-use-stddefs.h-instead-of-compiler.h.patch @@ -0,0 +1,26 @@ +From 36da7f38eabfcc0802786eb691cf8231cd4e496a Mon Sep 17 00:00:00 2001 +From: OpenWrt community +Date: Wed, 13 Jul 2022 11:36:00 +0200 +Subject: [PATCH 28/96] 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 @@ + #define _UAPI_LINUX_SWAB_H + + #include +-#include ++#include + #include + #include + +-- +2.37.2 + -- cgit v1.2.3