|
@ -122,33 +122,6 @@ typedef unsigned __bitwise__ gfp_t; |
|
|
# define uswap_64(x) _uswap_64(x, ) |
|
|
# define uswap_64(x) _uswap_64(x, ) |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if BYTE_ORDER == LITTLE_ENDIAN |
|
|
|
|
|
# define cpu_to_le16(x) (x) |
|
|
|
|
|
# define cpu_to_le32(x) (x) |
|
|
|
|
|
# define cpu_to_le64(x) (x) |
|
|
|
|
|
# define le16_to_cpu(x) (x) |
|
|
|
|
|
# define le32_to_cpu(x) (x) |
|
|
|
|
|
# define le64_to_cpu(x) (x) |
|
|
|
|
|
# define cpu_to_be16(x) uswap_16(x) |
|
|
|
|
|
# define cpu_to_be32(x) uswap_32(x) |
|
|
|
|
|
# define cpu_to_be64(x) uswap_64(x) |
|
|
|
|
|
# define be16_to_cpu(x) uswap_16(x) |
|
|
|
|
|
# define be32_to_cpu(x) uswap_32(x) |
|
|
|
|
|
# define be64_to_cpu(x) uswap_64(x) |
|
|
|
|
|
#else |
|
|
|
|
|
# define cpu_to_le16(x) uswap_16(x) |
|
|
|
|
|
# define cpu_to_le32(x) uswap_32(x) |
|
|
|
|
|
# define cpu_to_le64(x) uswap_64(x) |
|
|
|
|
|
# define le16_to_cpu(x) uswap_16(x) |
|
|
|
|
|
# define le32_to_cpu(x) uswap_32(x) |
|
|
|
|
|
# define le64_to_cpu(x) uswap_64(x) |
|
|
|
|
|
# define cpu_to_be16(x) (x) |
|
|
|
|
|
# define cpu_to_be32(x) (x) |
|
|
|
|
|
# define cpu_to_be64(x) (x) |
|
|
|
|
|
# define be16_to_cpu(x) (x) |
|
|
|
|
|
# define be32_to_cpu(x) (x) |
|
|
|
|
|
# define be64_to_cpu(x) (x) |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|