blob: 7d14e0669961b216b16b8803e5e4c423f1fa7b96 [file] [log] [blame]
Harvey Harrison6510d412008-04-29 01:03:30 -07001#ifndef _ASM_SH_UNALIGNED_H
2#define _ASM_SH_UNALIGNED_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Paul Mundt95b781c2008-11-26 00:29:58 +09004#ifdef CONFIG_CPU_SH4A
5/* SH-4A can handle unaligned loads in a relatively neutered fashion. */
6#include <asm/unaligned-sh4a.h>
7#else
8/* Otherwise, SH can't handle unaligned accesses. */
Paul Mundt508fb692009-06-14 23:24:43 +09009#include <asm-generic/unaligned.h>
Paul Mundt95b781c2008-11-26 00:29:58 +090010#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Harvey Harrison6510d412008-04-29 01:03:30 -070012#endif /* _ASM_SH_UNALIGNED_H */