Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 1 | #ifndef _XTENSA_BYTEORDER_H |
| 2 | #define _XTENSA_BYTEORDER_H |
| 3 | |
Harvey Harrison | 206ead2 | 2008-11-05 10:35:31 -0800 | [diff] [blame] | 4 | #ifdef __XTENSA_EL__ |
Harvey Harrison | 8903709 | 2009-01-07 12:19:31 -0800 | [diff] [blame] | 5 | #include <linux/byteorder/little_endian.h> |
Harvey Harrison | 206ead2 | 2008-11-05 10:35:31 -0800 | [diff] [blame] | 6 | #elif defined(__XTENSA_EB__) |
Harvey Harrison | 8903709 | 2009-01-07 12:19:31 -0800 | [diff] [blame] | 7 | #include <linux/byteorder/big_endian.h> |
Harvey Harrison | 206ead2 | 2008-11-05 10:35:31 -0800 | [diff] [blame] | 8 | #else |
| 9 | # error processor byte order undefined! |
| 10 | #endif |
| 11 | |
Chris Zankel | de4f6e5 | 2007-05-31 17:47:01 -0700 | [diff] [blame] | 12 | #endif /* _XTENSA_BYTEORDER_H */ |