]> git.ozlabs.org Git - yaboot.git/blob - include/byteorder.h
Remove check for BootX broken device-trees
[yaboot.git] / include / byteorder.h
1 #ifndef _BYTEORDER_H_
2 #define _BYTEORDER_H_
3
4 #include "swab.h"
5
6 # define le64_to_cpu(x)  swab64((x))
7 # define cpu_to_le64(x)  swab64((x))
8 # define le32_to_cpu(x)  swab32((x))
9 # define cpu_to_le32(x)  swab32((x))
10 # define le16_to_cpu(x)  swab16((x))
11 # define cpu_to_le16(x)  swab16((x))
12
13 #endif /* _BYTEORDER_H_ */