aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/swab.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/swab.h')
-rw-r--r--arch/microblaze/include/asm/swab.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/swab.h b/arch/microblaze/include/asm/swab.h
new file mode 100644
index 00000000000..b375d7b65ad
--- /dev/null
+++ b/arch/microblaze/include/asm/swab.h
@@ -0,0 +1,8 @@
+#ifndef _ASM_MICROBLAZE_SWAB_H
+#define _ASM_MICROBLAZE_SWAB_H
+
+#if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__)
+#define __SWAB_64_THRU_32__
+#endif
+
+#endif /* _ASM_MICROBLAZE_SWAB_H */