2005-06-24 13:01:26 +08:00
|
|
|
#ifndef _XTENSA_BYTEORDER_H
|
|
|
|
#define _XTENSA_BYTEORDER_H
|
|
|
|
|
2009-01-08 04:19:31 +08:00
|
|
|
#include <asm/swab.h>
|
2005-06-24 13:01:26 +08:00
|
|
|
|
2008-11-06 02:35:31 +08:00
|
|
|
#ifdef __XTENSA_EL__
|
2009-01-08 04:19:31 +08:00
|
|
|
#include <linux/byteorder/little_endian.h>
|
2008-11-06 02:35:31 +08:00
|
|
|
#elif defined(__XTENSA_EB__)
|
2009-01-08 04:19:31 +08:00
|
|
|
#include <linux/byteorder/big_endian.h>
|
2008-11-06 02:35:31 +08:00
|
|
|
#else
|
|
|
|
# error processor byte order undefined!
|
|
|
|
#endif
|
|
|
|
|
2007-06-01 08:47:01 +08:00
|
|
|
#endif /* _XTENSA_BYTEORDER_H */
|