byteorder.h 440 B

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