xref: /linux/arch/xtensa/include/uapi/asm/byteorder.h (revision 6fdcba32711044c35c0e1b094cbd8f3f0b4472c9)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _XTENSA_BYTEORDER_H
3 #define _XTENSA_BYTEORDER_H
4 
5 #ifdef __XTENSA_EL__
6 #include <linux/byteorder/little_endian.h>
7 #elif defined(__XTENSA_EB__)
8 #include <linux/byteorder/big_endian.h>
9 #else
10 # error processor byte order undefined!
11 #endif
12 
13 #endif /* _XTENSA_BYTEORDER_H */
14