summaryrefslogtreecommitdiffstats
path: root/include/linux/byteorder/little_endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/byteorder/little_endian.h')
-rw-r--r--include/linux/byteorder/little_endian.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/byteorder/little_endian.h b/include/linux/byteorder/little_endian.h
new file mode 100644
index 000000000..1ec650ff7
--- /dev/null
+++ b/include/linux/byteorder/little_endian.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LINUX_BYTEORDER_LITTLE_ENDIAN_H
+#define _LINUX_BYTEORDER_LITTLE_ENDIAN_H
+
+#include <uapi/linux/byteorder/little_endian.h>
+
+#ifdef CONFIG_CPU_BIG_ENDIAN
+#warning inconsistent configuration, CONFIG_CPU_BIG_ENDIAN is set
+#endif
+
+#include <linux/byteorder/generic.h>
+#endif /* _LINUX_BYTEORDER_LITTLE_ENDIAN_H */