1 /* $Id: byteorder.h,v 1.8 1998/11/02 09:29:32 ralf Exp $
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) by Ralf Baechle
8 */
9 #ifndef _MIPS_BYTEORDER_H
10 #define _MIPS_BYTEORDER_H
11
12 #include <asm/types.h>
13
14 #ifdef __GNUC__
15
16 #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
17 # define __BYTEORDER_HAS_U64__
18 # define __SWAB_64_THRU_32__
19 #endif
20
21 #endif /* __GNUC__ */
22
23 #if defined (__MIPSEB__)
24 # include <linux/byteorder/big_endian.h>
25 #elif defined (__MIPSEL__)
26 # include <linux/byteorder/little_endian.h>
27 #else
28 # error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???"
29 #endif
30
31 #endif /* _MIPS_BYTEORDER_H */
32
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.