diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /arch/xtensa/include/asm/byteorder.h | |
parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) |
Diffstat (limited to 'arch/xtensa/include/asm/byteorder.h')
-rw-r--r-- | arch/xtensa/include/asm/byteorder.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/byteorder.h b/arch/xtensa/include/asm/byteorder.h new file mode 100644 index 00000000000..54eb6315349 --- /dev/null +++ b/arch/xtensa/include/asm/byteorder.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #ifndef _XTENSA_BYTEORDER_H | ||
2 | #define _XTENSA_BYTEORDER_H | ||
3 | |||
4 | #ifdef __XTENSA_EL__ | ||
5 | #include <linux/byteorder/little_endian.h> | ||
6 | #elif defined(__XTENSA_EB__) | ||
7 | #include <linux/byteorder/big_endian.h> | ||
8 | #else | ||
9 | # error processor byte order undefined! | ||
10 | #endif | ||
11 | |||
12 | #endif /* _XTENSA_BYTEORDER_H */ | ||