xref: /linux/arch/xtensa/include/uapi/asm/byteorder.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
283596729SDavid Howells #ifndef _XTENSA_BYTEORDER_H
383596729SDavid Howells #define _XTENSA_BYTEORDER_H
483596729SDavid Howells 
583596729SDavid Howells #ifdef __XTENSA_EL__
683596729SDavid Howells #include <linux/byteorder/little_endian.h>
783596729SDavid Howells #elif defined(__XTENSA_EB__)
883596729SDavid Howells #include <linux/byteorder/big_endian.h>
983596729SDavid Howells #else
1083596729SDavid Howells # error processor byte order undefined!
1183596729SDavid Howells #endif
1283596729SDavid Howells 
1383596729SDavid Howells #endif /* _XTENSA_BYTEORDER_H */
14