diff options
Diffstat (limited to 'include/asm-sparc/byteorder.h')
-rw-r--r-- | include/asm-sparc/byteorder.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-sparc/byteorder.h b/include/asm-sparc/byteorder.h new file mode 100644 index 000000000000..a2949aea48ef --- /dev/null +++ b/include/asm-sparc/byteorder.h | |||
@@ -0,0 +1,14 @@ | |||
1 | /* $Id: byteorder.h,v 1.15 1997/12/16 19:20:44 davem Exp $ */ | ||
2 | #ifndef _SPARC_BYTEORDER_H | ||
3 | #define _SPARC_BYTEORDER_H | ||
4 | |||
5 | #include <asm/types.h> | ||
6 | |||
7 | #if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__) | ||
8 | # define __BYTEORDER_HAS_U64__ | ||
9 | # define __SWAB_64_THRU_32__ | ||
10 | #endif | ||
11 | |||
12 | #include <linux/byteorder/big_endian.h> | ||
13 | |||
14 | #endif /* _SPARC_BYTEORDER_H */ | ||