unaligned.h 553 B

123456789101112131415161718
  1. #ifndef _ASM_M32R_UNALIGNED_H
  2. #define _ASM_M32R_UNALIGNED_H
  3. #if defined(__LITTLE_ENDIAN__)
  4. # include <linux/unaligned/le_memmove.h>
  5. # include <linux/unaligned/be_byteshift.h>
  6. # include <linux/unaligned/generic.h>
  7. # define get_unaligned __get_unaligned_le
  8. # define put_unaligned __put_unaligned_le
  9. #else
  10. # include <linux/unaligned/be_memmove.h>
  11. # include <linux/unaligned/le_byteshift.h>
  12. # include <linux/unaligned/generic.h>
  13. # define get_unaligned __get_unaligned_be
  14. # define put_unaligned __put_unaligned_be
  15. #endif
  16. #endif /* _ASM_M32R_UNALIGNED_H */