1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 2819833afSPeter Tyser /* 3819833afSPeter Tyser * (C) Copyright 2004, Psyent Corporation <www.psyent.com> 4819833afSPeter Tyser * Scott McNutt <smcnutt@psyent.com> 5819833afSPeter Tyser */ 6819833afSPeter Tyser 7819833afSPeter Tyser #ifndef __ASM_NIOS2_BYTEORDER_H_ 8819833afSPeter Tyser #define __ASM_NIOS2_BYTEORDER_H_ 9819833afSPeter Tyser 10819833afSPeter Tyser #include <asm/types.h> 110dc1c7f6SThomas Chou 120dc1c7f6SThomas Chou #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) 130dc1c7f6SThomas Chou # define __BYTEORDER_HAS_U64__ 140dc1c7f6SThomas Chou # define __SWAB_64_THRU_32__ 150dc1c7f6SThomas Chou #endif 160dc1c7f6SThomas Chou 17819833afSPeter Tyser #include <linux/byteorder/little_endian.h> 18819833afSPeter Tyser 19819833afSPeter Tyser #endif /* __ASM_NIOS2_BYTEORDER_H_ */ 20