Daniel Hellstrom | 9d7c6b2 | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2002 |
| 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | * |
| 5 | * (C) Copyright 2008 |
| 6 | * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. |
| 7 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | * SPDX-License-Identifier: GPL-2.0+ |
Daniel Hellstrom | 9d7c6b2 | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef _SPARC_BYTEORDER_H |
| 12 | #define _SPARC_BYTEORDER_H |
| 13 | |
| 14 | #include <asm/types.h> |
| 15 | |
| 16 | #if defined(__GNUC__) && !defined(__STRICT_ANSI__) |
| 17 | #define __BYTEORDER_HAS_U64__ |
Magnus Sjalander | 62b068b | 2010-05-26 13:23:53 +0200 | [diff] [blame] | 18 | #define __SWAB_64_THRU_32__ |
Daniel Hellstrom | 9d7c6b2 | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 19 | #endif |
| 20 | #include <linux/byteorder/big_endian.h> |
| 21 | #endif /* _SPARC_BYTEORDER_H */ |