sh: Fix up and optimize the kmap_coherent() interface.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / sh / include / asm / unaligned.h
blob7d14e0669961b216b16b8803e5e4c423f1fa7b96
1 #ifndef _ASM_SH_UNALIGNED_H
2 #define _ASM_SH_UNALIGNED_H
4 #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. */
9 #include <asm-generic/unaligned.h>
10 #endif
12 #endif /* _ASM_SH_UNALIGNED_H */