OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips64/] [byteorder.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
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, 1999 by Ralf Baechle
7
 */
8
#ifndef _ASM_BYTEORDER_H
9
#define _ASM_BYTEORDER_H
10
 
11
#include <asm/types.h>
12
 
13
#ifdef __GNUC__
14
 
15
#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
16
#  define __BYTEORDER_HAS_U64__
17
#endif
18
 
19
#endif /* __GNUC__ */
20
 
21
#if defined (__MIPSEB__)
22
#  include <linux/byteorder/big_endian.h>
23
#elif defined (__MIPSEL__)
24
#  include <linux/byteorder/little_endian.h>
25
#else
26
#  error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???"
27
#endif
28
 
29
#endif /* _ASM_BYTEORDER_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.