xref: /linux/arch/mips/include/uapi/asm/byteorder.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * This file is subject to the terms and conditions of the GNU General Public
4  * License.  See the file "COPYING" in the main directory of this archive
5  * for more details.
6  *
7  * Copyright (C) 1996, 99, 2003 by Ralf Baechle
8  */
9 #ifndef _ASM_BYTEORDER_H
10 #define _ASM_BYTEORDER_H
11 
12 #if defined(__MIPSEB__)
13 #include <linux/byteorder/big_endian.h>
14 #elif defined(__MIPSEL__)
15 #include <linux/byteorder/little_endian.h>
16 #else
17 # error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???"
18 #endif
19 
20 #endif /* _ASM_BYTEORDER_H */
21