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