blob: 377eb20d1ec6dfdac60920f04bc6dbd2e4175ac0 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_M32R_UNALIGNED_H
2#define _ASM_M32R_UNALIGNED_H
3
Harvey Harrison6510d412008-04-29 01:03:30 -07004#if defined(__LITTLE_ENDIAN__)
5# include <linux/unaligned/le_memmove.h>
6# include <linux/unaligned/be_byteshift.h>
7# include <linux/unaligned/generic.h>
8# define get_unaligned __get_unaligned_le
9# define put_unaligned __put_unaligned_le
10#else
11# include <linux/unaligned/be_memmove.h>
12# include <linux/unaligned/le_byteshift.h>
13# include <linux/unaligned/generic.h>
14# define get_unaligned __get_unaligned_be
15# define put_unaligned __put_unaligned_be
16#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
Hirokazu Takatafabb6262007-02-10 01:43:40 -080018#endif /* _ASM_M32R_UNALIGNED_H */