b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [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 | * |
| 8 | * SPDX-License-Identifier: GPL-2.0+ |
| 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__ |
| 18 | #define __SWAB_64_THRU_32__ |
| 19 | #endif |
| 20 | #include <linux/byteorder/big_endian.h> |
| 21 | #endif /* _SPARC_BYTEORDER_H */ |