diff options
Diffstat (limited to 'arch/xtensa/include/asm/byteorder.h')
-rw-r--r-- | arch/xtensa/include/asm/byteorder.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/byteorder.h b/arch/xtensa/include/asm/byteorder.h new file mode 100644 index 000000000000..329b94591ca4 --- /dev/null +++ b/arch/xtensa/include/asm/byteorder.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifndef _XTENSA_BYTEORDER_H | ||
2 | #define _XTENSA_BYTEORDER_H | ||
3 | |||
4 | #include <asm/swab.h> | ||
5 | |||
6 | #ifdef __XTENSA_EL__ | ||
7 | #include <linux/byteorder/little_endian.h> | ||
8 | #elif defined(__XTENSA_EB__) | ||
9 | #include <linux/byteorder/big_endian.h> | ||
10 | #else | ||
11 | # error processor byte order undefined! | ||
12 | #endif | ||
13 | |||
14 | #endif /* _XTENSA_BYTEORDER_H */ | ||