aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-headers/include-uapi-linux-swab-Fix-potentially-missing-__always_inline.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/linux-headers/include-uapi-linux-swab-Fix-potentially-missing-__always_inline.patch')
-rw-r--r--main/linux-headers/include-uapi-linux-swab-Fix-potentially-missing-__always_inline.patch19
1 files changed, 9 insertions, 10 deletions
diff --git a/main/linux-headers/include-uapi-linux-swab-Fix-potentially-missing-__always_inline.patch b/main/linux-headers/include-uapi-linux-swab-Fix-potentially-missing-__always_inline.patch
index a0b8b734e3..3ef4477ac5 100644
--- a/main/linux-headers/include-uapi-linux-swab-Fix-potentially-missing-__always_inline.patch
+++ b/main/linux-headers/include-uapi-linux-swab-Fix-potentially-missing-__always_inline.patch
@@ -1,11 +1,11 @@
+From 2b7d2ece0b60b8f450f29119f28668dc74bb692e Mon Sep 17 00:00:00 2001
From: Matt Redfearn <matt.redfearn@mips.com>
-Subject: [PATCH] include/uapi/linux/swab: Fix potentially missing __always_inline
Date: Wed, 3 Jan 2018 09:57:30 +0000
-Message-ID: <1514973450-12447-1-git-send-email-matt.redfearn@mips.com>
-X-Mailer: git-send-email 2.7.4
+Subject: [PATCH] include/uapi/linux/swab: Fix potentially missing
+ __always_inline
MIME-Version: 1.0
-Content-Type: text/plain; charset="UTF-8"
-Content-Transfer-Encoding: 8BIT
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
Commit bc27fb68aaad ("include/uapi/linux/byteorder, swab: force inlining
of some byteswap operations") added __always_inline to swab functions
@@ -33,14 +33,12 @@ indirectly, via stddef.h.
Fixes: 283d75737837 ("uapi/linux/stddef.h: Provide __always_inline to userspace headers")
Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
-
---
-
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 23cd84868cc3..f6a8cf737abf 100644
+index 7272f85d6d6a..3736f2fe1541 100644
--- a/include/uapi/linux/swab.h
+++ b/include/uapi/linux/swab.h
@@ -3,7 +3,7 @@
@@ -49,8 +47,9 @@ index 23cd84868cc3..f6a8cf737abf 100644
#include <linux/types.h>
-#include <linux/compiler.h>
+#include <linux/stddef.h>
+ #include <asm/bitsperlong.h>
#include <asm/swab.h>
- /*
--
-2.7.4
+2.27.0
+