summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-11-01 00:04:21 +0000
committerLuka Perkov <luka@openwrt.org>2015-11-01 00:04:21 +0000
commit013a114691e74c9eb76eb2becd7f4878a1fc7f59 (patch)
tree2cd2f24a17f4aaf996d433d4d80be77241f46cf3 /target/linux/generic/patches-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch
parente920d31f4b2c16efc78e8bcd5e606f4bbf9b9d33 (diff)
downloadmaster-31e0f0ae-013a114691e74c9eb76eb2becd7f4878a1fc7f59.tar.gz
master-31e0f0ae-013a114691e74c9eb76eb2becd7f4878a1fc7f59.tar.bz2
master-31e0f0ae-013a114691e74c9eb76eb2becd7f4878a1fc7f59.zip
generic: 3.18: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47329
Diffstat (limited to 'target/linux/generic/patches-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch')
-rw-r--r--target/linux/generic/patches-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch7
1 files changed, 1 insertions, 6 deletions
diff --git a/target/linux/generic/patches-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch b/target/linux/generic/patches-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch
index d8f25ac1fd..ebbe1bbaee 100644
--- a/target/linux/generic/patches-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch
+++ b/target/linux/generic/patches-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch
@@ -30,8 +30,6 @@ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/uapi/asm/swab.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
-diff --git a/arch/mips/include/uapi/asm/swab.h b/arch/mips/include/uapi/asm/swab.h
-index 8f2d184..23cd9b1 100644
--- a/arch/mips/include/uapi/asm/swab.h
+++ b/arch/mips/include/uapi/asm/swab.h
@@ -13,8 +13,9 @@
@@ -46,13 +44,10 @@ index 8f2d184..23cd9b1 100644
static inline __attribute_const__ __u16 __arch_swab16(__u16 x)
{
-@@ -65,5 +66,5 @@ static inline __attribute_const__ __u64 __arch_swab64(__u64 x)
+@@ -65,5 +66,5 @@ static inline __attribute_const__ __u64
}
#define __arch_swab64 __arch_swab64
#endif /* __mips64 */
-#endif /* MIPS R2 or newer or Loongson 3A */
+#endif /* (not __mips16) and (MIPS R2 or newer or Loongson 3A) */
#endif /* _ASM_SWAB_H */
---
-1.7.10.4
-