summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/unaligned.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-14 16:24:43 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-06-14 16:24:43 +0200
commit508fb69886bde5a346f2fe0b550eb49e969f0ac5 (patch)
treee55e01b13ce992d489a13ed15edd8c86afd3d36c /arch/sh/include/asm/unaligned.h
parentsh: Convert to asm-generic/module.h. (diff)
downloadlinux-508fb69886bde5a346f2fe0b550eb49e969f0ac5.tar.xz
linux-508fb69886bde5a346f2fe0b550eb49e969f0ac5.zip
sh: Convert to asm-generic/unaligned.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/unaligned.h')
-rw-r--r--arch/sh/include/asm/unaligned.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/sh/include/asm/unaligned.h b/arch/sh/include/asm/unaligned.h
index 8c0ad5e4487a..7d14e0669961 100644
--- a/arch/sh/include/asm/unaligned.h
+++ b/arch/sh/include/asm/unaligned.h
@@ -6,19 +6,7 @@
#include <asm/unaligned-sh4a.h>
#else
/* Otherwise, SH can't handle unaligned accesses. */
-#ifdef __LITTLE_ENDIAN__
-# include <linux/unaligned/le_struct.h>
-# include <linux/unaligned/be_byteshift.h>
-# include <linux/unaligned/generic.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>
-# include <linux/unaligned/generic.h>
-# define get_unaligned __get_unaligned_be
-# define put_unaligned __put_unaligned_be
-#endif
+#include <asm-generic/unaligned.h>
#endif
#endif /* _ASM_SH_UNALIGNED_H */