Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * Copyright (C) 1996, 99, 2003 by Ralf Baechle |
| 7 | */ |
| 8 | #ifndef _ASM_BYTEORDER_H |
| 9 | #define _ASM_BYTEORDER_H |
| 10 | |
Harvey Harrison | 255a12f | 2008-10-29 14:21:32 -0700 | [diff] [blame] | 11 | #if defined(__MIPSEB__) |
Harvey Harrison | 8cdd3a9 | 2009-01-06 14:56:23 -0800 | [diff] [blame] | 12 | #include <linux/byteorder/big_endian.h> |
Harvey Harrison | 255a12f | 2008-10-29 14:21:32 -0700 | [diff] [blame] | 13 | #elif defined(__MIPSEL__) |
Harvey Harrison | 8cdd3a9 | 2009-01-06 14:56:23 -0800 | [diff] [blame] | 14 | #include <linux/byteorder/little_endian.h> |
Harvey Harrison | 255a12f | 2008-10-29 14:21:32 -0700 | [diff] [blame] | 15 | #else |
| 16 | # error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???" |
| 17 | #endif |
| 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #endif /* _ASM_BYTEORDER_H */ |