summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/swab.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-03-27 14:25:36 +0100
committerMichal Simek <monstr@monstr.eu>2009-03-27 14:25:36 +0100
commit10713b1d9f4e64468e9b9d38c32eea0814568b92 (patch)
tree215d09a2ec25629a47d31e4b71db042c8ef941ff /arch/microblaze/include/asm/swab.h
parentmicroblaze_v8: headers for irq (diff)
downloadlinux-10713b1d9f4e64468e9b9d38c32eea0814568b92.tar.xz
linux-10713b1d9f4e64468e9b9d38c32eea0814568b92.zip
microblaze_v8: atomic.h bitops.h swab.h byteorder.h
Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
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 000000000000..b375d7b65ad7
--- /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 */