blob: 329b94591ca404dde4d7458be14e14ebd91282e1 [file] [log] [blame]
Chris Zankel9a8fd552005-06-23 22:01:26 -07001#ifndef _XTENSA_BYTEORDER_H
2#define _XTENSA_BYTEORDER_H
3
Harvey Harrison89037092009-01-07 12:19:31 -08004#include <asm/swab.h>
Chris Zankel9a8fd552005-06-23 22:01:26 -07005
Harvey Harrison206ead22008-11-05 10:35:31 -08006#ifdef __XTENSA_EL__
Harvey Harrison89037092009-01-07 12:19:31 -08007#include <linux/byteorder/little_endian.h>
Harvey Harrison206ead22008-11-05 10:35:31 -08008#elif defined(__XTENSA_EB__)
Harvey Harrison89037092009-01-07 12:19:31 -08009#include <linux/byteorder/big_endian.h>
Harvey Harrison206ead22008-11-05 10:35:31 -080010#else
11# error processor byte order undefined!
12#endif
13
Chris Zankelde4f6e52007-05-31 17:47:01 -070014#endif /* _XTENSA_BYTEORDER_H */