2008-03-28 08:47:00 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2002
|
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*
|
|
|
|
* (C) Copyright 2008
|
|
|
|
* Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2008-03-28 08:47:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SPARC_BYTEORDER_H
|
|
|
|
#define _SPARC_BYTEORDER_H
|
|
|
|
|
|
|
|
#include <asm/types.h>
|
|
|
|
|
|
|
|
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
|
|
|
|
#define __BYTEORDER_HAS_U64__
|
2010-05-26 11:23:53 +00:00
|
|
|
#define __SWAB_64_THRU_32__
|
2008-03-28 08:47:00 +00:00
|
|
|
#endif
|
|
|
|
#include <linux/byteorder/big_endian.h>
|
|
|
|
#endif /* _SPARC_BYTEORDER_H */
|