summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/byteorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/byteorder.h')
-rw-r--r--arch/sparc/include/asm/byteorder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/byteorder.h b/arch/sparc/include/asm/byteorder.h
index b9fc65663f..e3b3dec91d 100644
--- a/arch/sparc/include/asm/byteorder.h
+++ b/arch/sparc/include/asm/byteorder.h
@@ -32,6 +32,7 @@
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define __BYTEORDER_HAS_U64__
+#define __SWAB_64_THRU_32__
#endif
#include <linux/byteorder/big_endian.h>
#endif /* _SPARC_BYTEORDER_H */