summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/byteorder.h
blob: 7cbbfd26d29241aca849ee83dfc3e8a566faba13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _SPARC_BYTEORDER_H
#define _SPARC_BYTEORDER_H

#include <asm/types.h>

#if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__)
#  define __BYTEORDER_HAS_U64__
#  define __SWAB_64_THRU_32__
#endif

#include <linux/byteorder/big_endian.h>

#endif /* _SPARC_BYTEORDER_H */