blob: bdc5e63f218869bd6503d52ed99100904ae23194 [file] [log] [blame]
Daniel Hellstromc2f02da2008-03-28 09:47:00 +01001/*
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 Denk1a459662013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
Daniel Hellstromc2f02da2008-03-28 09:47:00 +01009 */
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 Sjalander997faf22010-05-26 13:23:53 +020018#define __SWAB_64_THRU_32__
Daniel Hellstromc2f02da2008-03-28 09:47:00 +010019#endif
20#include <linux/byteorder/big_endian.h>
21#endif /* _SPARC_BYTEORDER_H */