Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / m32r / include / asm / unaligned.h
blob377eb20d1ec6dfdac60920f04bc6dbd2e4175ac0
1 #ifndef _ASM_M32R_UNALIGNED_H
2 #define _ASM_M32R_UNALIGNED_H
4 #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
18 #endif /* _ASM_M32R_UNALIGNED_H */