Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_SH_BYTEORDER_H |
2 | #define __ASM_SH_BYTEORDER_H | ||||
3 | |||||
Harvey Harrison | 1af84a6 | 2009-01-06 14:56:25 -0800 | [diff] [blame^] | 4 | #include <asm/swab.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
Harvey Harrison | 1406266 | 2008-10-31 16:01:22 +0900 | [diff] [blame] | 6 | #ifdef __LITTLE_ENDIAN__ |
Harvey Harrison | 1af84a6 | 2009-01-06 14:56:25 -0800 | [diff] [blame^] | 7 | #include <linux/byteorder/little_endian.h> |
Harvey Harrison | 1406266 | 2008-10-31 16:01:22 +0900 | [diff] [blame] | 8 | #else |
Harvey Harrison | 1af84a6 | 2009-01-06 14:56:25 -0800 | [diff] [blame^] | 9 | #include <linux/byteorder/big_endian.h> |
Harvey Harrison | 1406266 | 2008-10-31 16:01:22 +0900 | [diff] [blame] | 10 | #endif |
11 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #endif /* __ASM_SH_BYTEORDER_H */ |