aboutsummaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/byteorder.h
blob: 329b94591ca404dde4d7458be14e14ebd91282e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _XTENSA_BYTEORDER_H
#define _XTENSA_BYTEORDER_H

#include <asm/swab.h>

#ifdef __XTENSA_EL__
#include <linux/byteorder/little_endian.h>
#elif defined(__XTENSA_EB__)
#include <linux/byteorder/big_endian.h>
#else
# error processor byte order undefined!
#endif

#endif /* _XTENSA_BYTEORDER_H */