/* * Copyright Codito Technologies (www.codito.com) * * Copyright (C) * * include/asm-arc/byteorder.h * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #ifndef __ASM_ARC_BYTEORDER_H #define __ASM_ARC_BYTEORDER_H #include #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) # define __BYTEORDER_HAS_U64__ # define __SWAB_64_THRU_32__ #endif #ifndef __big_endian__ //#define __LITTLE_ENDIAN__ #define LITTLE_ENDIAN #include #else #define __BIG_ENDIAN__ #define BIG_ENDIAN #include #endif /* __big_endian__ */ #endif /* ASM_ARC_BYTEORDER_H */