summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/byteorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/byteorder.h')
-rw-r--r--arch/microblaze/include/asm/byteorder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/byteorder.h b/arch/microblaze/include/asm/byteorder.h
index ce9c58732ffc..31902762a426 100644
--- a/arch/microblaze/include/asm/byteorder.h
+++ b/arch/microblaze/include/asm/byteorder.h
@@ -1,6 +1,10 @@
#ifndef _ASM_MICROBLAZE_BYTEORDER_H
#define _ASM_MICROBLAZE_BYTEORDER_H
+#ifdef __MICROBLAZEEL__
+#include <linux/byteorder/little_endian.h>
+#else
#include <linux/byteorder/big_endian.h>
+#endif
#endif /* _ASM_MICROBLAZE_BYTEORDER_H */
OpenPOWER on IntegriCloud