linux/generic/pending-5.15: add missing patch headers
[openwrt/staging/jow.git] / target / linux / generic / pending-5.15 / 101-Use-stddefs.h-instead-of-compiler.h.patch
1 From d3c5b26768dbe990c4e1bd79e420c11ce7491d51 Mon Sep 17 00:00:00 2001
2 From: OpenWrt community <openwrt-devel@lists.openwrt.org>
3 Date: Wed, 13 Jul 2022 11:36:00 +0200
4 Subject: [PATCH] swab: use stddefs.h instead of compiler.h
5
6 Fix an issue with kernel headers that broke perf.
7
8 ---
9 include/uapi/linux/swab.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/include/uapi/linux/swab.h b/include/uapi/linux/swab.h
13 index 7272f85d6d6a..3736f2fe1541 100644
14 --- a/include/uapi/linux/swab.h
15 +++ b/include/uapi/linux/swab.h
16 @@ -3,7 +3,7 @@
17 #define _UAPI_LINUX_SWAB_H
18
19 #include <linux/types.h>
20 -#include <linux/compiler.h>
21 +#include <linux/stddef.h>
22 #include <asm/bitsperlong.h>
23 #include <asm/swab.h>
24
25 --
26