wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2004, Psyent Corporation <www.psyent.com> |
| 3 | * Scott McNutt <smcnutt@psyent.com> |
| 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __ASM_NIOS2_BYTEORDER_H_ |
| 9 | #define __ASM_NIOS2_BYTEORDER_H_ |
| 10 | |
| 11 | #include <asm/types.h> |
Thomas Chou | c9726c8 | 2010-04-17 23:10:09 +0800 | [diff] [blame] | 12 | |
| 13 | #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) |
| 14 | # define __BYTEORDER_HAS_U64__ |
| 15 | # define __SWAB_64_THRU_32__ |
| 16 | #endif |
| 17 | |
wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 18 | #include <linux/byteorder/little_endian.h> |
| 19 | |
| 20 | #endif /* __ASM_NIOS2_BYTEORDER_H_ */ |