blob: 5d96b31c90228fdcb8db1ccf48339ee822d69d2b [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenkef3386f2004-10-10 21:27:30 +00002/*
Tom Rini10e47792018-05-06 17:58:06 -04003 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
4 * Scott McNutt <smcnutt@psyent.com>
5 */
wdenkef3386f2004-10-10 21:27:30 +00006
7#ifndef __ASM_NIOS2_BYTEORDER_H_
8#define __ASM_NIOS2_BYTEORDER_H_
9
10#include <asm/types.h>
Thomas Chouc9726c82010-04-17 23:10:09 +080011
12#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
13# define __BYTEORDER_HAS_U64__
14# define __SWAB_64_THRU_32__
15#endif
16
wdenkef3386f2004-10-10 21:27:30 +000017#include <linux/byteorder/little_endian.h>
18
19#endif /* __ASM_NIOS2_BYTEORDER_H_ */