1 #ifndef BYTEORDER_H_INCLUDED
2 #define BYTEORDER_H_INCLUDED
4 #if defined (__s390__) || defined (__s390x__)
5 #define le32_to_cpu(x) ( \
6 (*(((unsigned char *) &(x)))) + \
7 (*(((unsigned char *) &(x))+1) << 8) + \
8 (*(((unsigned char *) &(x))+2) << 16) + \
9 (*(((unsigned char *) &(x))+3) << 24) \
12 #define le32_to_cpu(x) (x)
15 #endif /* BYTEORDER_H_INCLUDED */