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