OpenCloudOS-Kernel/include/asm-m32r/byteorder.h

18 lines
375 B
C

#ifndef _ASM_M32R_BYTEORDER_H
#define _ASM_M32R_BYTEORDER_H
#include <asm/types.h>
#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
# define __BYTEORDER_HAS_U64__
# define __SWAB_64_THRU_32__
#endif
#if defined(__LITTLE_ENDIAN__)
# include <linux/byteorder/little_endian.h>
#else
# include <linux/byteorder/big_endian.h>
#endif
#endif /* _ASM_M32R_BYTEORDER_H */