diff options
author | Michal Simek <monstr@monstr.eu> | 2011-02-18 14:29:20 +0100 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-03-09 08:09:53 +0100 |
commit | 601149775158ea825326734c2db5d90190249bd7 (patch) | |
tree | e14cb4399d844c1f2190ade041eec2ca90d06107 /arch/microblaze/include | |
parent | c06b3a068223cb885d85ac4f6c31e870ca2b5aac (diff) | |
download | linux-601149775158ea825326734c2db5d90190249bd7.tar.gz linux-601149775158ea825326734c2db5d90190249bd7.tar.bz2 linux-601149775158ea825326734c2db5d90190249bd7.zip |
microblaze: Fix unaligned.h for endians
Synchronized with mips unaligned.h.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r-- | arch/microblaze/include/asm/unaligned.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/microblaze/include/asm/unaligned.h b/arch/microblaze/include/asm/unaligned.h index 2b97cbe500e9..b162ed880495 100644 --- a/arch/microblaze/include/asm/unaligned.h +++ b/arch/microblaze/include/asm/unaligned.h @@ -12,18 +12,19 @@ # ifdef __KERNEL__ -# include <linux/unaligned/be_byteshift.h> -# include <linux/unaligned/le_byteshift.h> -# include <linux/unaligned/generic.h> - - # ifdef __MICROBLAZEEL__ +# include <linux/unaligned/le_struct.h> +# include <linux/unaligned/be_byteshift.h> # define get_unaligned __get_unaligned_le # define put_unaligned __put_unaligned_le # else +# include <linux/unaligned/be_struct.h> +# include <linux/unaligned/le_byteshift.h> # define get_unaligned __get_unaligned_be # define put_unaligned __put_unaligned_be # endif +# include <linux/unaligned/generic.h> + # endif /* __KERNEL__ */ #endif /* _ASM_MICROBLAZE_UNALIGNED_H */ |