2017-11-01 22:08:43 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2005-06-24 13:01:26 +08:00
|
|
|
#ifndef _XTENSA_BYTEORDER_H
|
|
|
|
#define _XTENSA_BYTEORDER_H
|
|
|
|
|
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 */
|