unaligned.h 669 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (C) 2001 NEC Corporation
  3. * Copyright (C) 2001 Miles Bader <miles@gnu.org>
  4. *
  5. * This file is subject to the terms and conditions of the GNU General
  6. * Public License. See the file COPYING in the main directory of this
  7. * archive for more details.
  8. *
  9. * Note that some v850 chips support unaligned access, but it seems too
  10. * annoying to use.
  11. */
  12. #ifndef _ASM_V850_UNALIGNED_H
  13. #define _ASM_V850_UNALIGNED_H
  14. #include <linux/unaligned/be_byteshift.h>
  15. #include <linux/unaligned/le_byteshift.h>
  16. #include <linux/unaligned/generic.h>
  17. #define get_unaligned __get_unaligned_le
  18. #define put_unaligned __put_unaligned_le
  19. #endif /* _ASM_V850_UNALIGNED_H */