blob: eb24d8e77ad23cbcb736c6d4e8f088458257779c [file] [log] [blame]
/*
* 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 <asm/types.h>
#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 <linux/byteorder/little_endian.h>
#else
#define __BIG_ENDIAN__
#define BIG_ENDIAN
#include <linux/byteorder/big_endian.h>
#endif /* __big_endian__ */
#endif /* ASM_ARC_BYTEORDER_H */