aboutsummaryrefslogtreecommitdiff
path: root/include/linux/byteorder/swab.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-12-19 08:59:59 -0500
committerTom Rini <trini@konsulko.com>2021-12-19 08:59:59 -0500
commite9d7888da845638f135046d53c25492a8c54e664 (patch)
tree2c869b612423216e955ae8c2310f8dc9bfaae796 /include/linux/byteorder/swab.h
parent0ebf465d343868bf1080d540ab64de39bb927a09 (diff)
parent2e5d0aa3968e45062fcb27678f815c6df06d111f (diff)
Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-marvell into next
- Armada XP etc: Move to DM_I2C (Stefan) - Some mvebu comphy + mox + fdt_support changes (Marek & Pali) - mvebu: a38x: improve USB3 serdes configuration (Stefan Eichenberger) - mvebu: Some maintainer updates (Pali) - mvebu: Misc minor cleanup (Pali)
Diffstat (limited to 'include/linux/byteorder/swab.h')
-rw-r--r--include/linux/byteorder/swab.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/byteorder/swab.h b/include/linux/byteorder/swab.h
index 4334fa77e3..5efc252acf 100644
--- a/include/linux/byteorder/swab.h
+++ b/include/linux/byteorder/swab.h
@@ -39,6 +39,10 @@
(__u64)(((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \
(__u64)(((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56) ))
+#define ___constant_swab16(x) ___swab16(x)
+#define ___constant_swab32(x) ___swab32(x)
+#define ___constant_swab64(x) ___swab64(x)
+
/*
* provide defaults when no architecture-specific optimization is detected
*/