blob: 607b7183070773d377c68be3643ef68895a4ea6b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 Harrison8cdd3a92009-01-06 14:56:23 -080011#include <asm/swab.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Harvey Harrison255a12f2008-10-29 14:21:32 -070013#if defined(__MIPSEB__)
Harvey Harrison8cdd3a92009-01-06 14:56:23 -080014#include <linux/byteorder/big_endian.h>
Harvey Harrison255a12f2008-10-29 14:21:32 -070015#elif defined(__MIPSEL__)
Harvey Harrison8cdd3a92009-01-06 14:56:23 -080016#include <linux/byteorder/little_endian.h>
Harvey Harrison255a12f2008-10-29 14:21:32 -070017#else
18# error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???"
19#endif
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#endif /* _ASM_BYTEORDER_H */