2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2004-10-10 21:27:30 +00:00
|
|
|
/*
|
2018-05-06 21:58:06 +00:00
|
|
|
* (C) Copyright 2004, Psyent Corporation <www.psyent.com>
|
|
|
|
* Scott McNutt <smcnutt@psyent.com>
|
|
|
|
*/
|
2004-10-10 21:27:30 +00:00
|
|
|
|
|
|
|
#ifndef __ASM_NIOS2_BYTEORDER_H_
|
|
|
|
#define __ASM_NIOS2_BYTEORDER_H_
|
|
|
|
|
|
|
|
#include <asm/types.h>
|
2010-04-17 15:10:09 +00:00
|
|
|
|
|
|
|
#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
|
|
|
|
# define __BYTEORDER_HAS_U64__
|
|
|
|
# define __SWAB_64_THRU_32__
|
|
|
|
#endif
|
|
|
|
|
2004-10-10 21:27:30 +00:00
|
|
|
#include <linux/byteorder/little_endian.h>
|
|
|
|
|
|
|
|
#endif /* __ASM_NIOS2_BYTEORDER_H_ */
|