- Stephen Rothwell: APM updates
[davej-history.git] / include / asm-mips64 / byteorder.h
blobf1746299f336b76c525774d000ae8cde9e587c26
1 /* $Id$
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.
7 * Copyright (C) 1996, 1999 by Ralf Baechle
8 */
9 #ifndef _ASM_BYTEORDER_H
10 #define _ASM_BYTEORDER_H
12 #include <asm/types.h>
14 #ifdef __GNUC__
16 #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
17 # define __BYTEORDER_HAS_U64__
18 #endif
20 #endif /* __GNUC__ */
22 #if defined (__MIPSEB__)
23 # include <linux/byteorder/big_endian.h>
24 #elif defined (__MIPSEL__)
25 # include <linux/byteorder/little_endian.h>
26 #else
27 # error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???"
28 #endif
30 #endif /* _ASM_BYTEORDER_H */