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/mips/include/asm/byteorder.h | |
| parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) | |
Diffstat (limited to 'arch/mips/include/asm/byteorder.h')
| -rw-r--r-- | arch/mips/include/asm/byteorder.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/mips/include/asm/byteorder.h b/arch/mips/include/asm/byteorder.h new file mode 100644 index 00000000000..9579051ff1c --- /dev/null +++ b/arch/mips/include/asm/byteorder.h | |||
| @@ -0,0 +1,19 @@ | |||
| 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 | |||
| 11 | #if defined(__MIPSEB__) | ||
| 12 | #include <linux/byteorder/big_endian.h> | ||
| 13 | #elif defined(__MIPSEL__) | ||
| 14 | #include <linux/byteorder/little_endian.h> | ||
| 15 | #else | ||
| 16 | # error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???" | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #endif /* _ASM_BYTEORDER_H */ | ||
