byteorder.h 436 B

1234567891011121314151617181920
  1. /*
  2. * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
  3. * Scott McNutt <smcnutt@psyent.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __ASM_NIOS2_BYTEORDER_H_
  8. #define __ASM_NIOS2_BYTEORDER_H_
  9. #include <asm/types.h>
  10. #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
  11. # define __BYTEORDER_HAS_U64__
  12. # define __SWAB_64_THRU_32__
  13. #endif
  14. #include <linux/byteorder/little_endian.h>
  15. #endif /* __ASM_NIOS2_BYTEORDER_H_ */