diff options
Diffstat (limited to 'arch/powerpc/include/asm/unaligned.h')
-rw-r--r-- | arch/powerpc/include/asm/unaligned.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/unaligned.h b/arch/powerpc/include/asm/unaligned.h new file mode 100644 index 000000000000..5f1b1e3c2137 --- /dev/null +++ b/arch/powerpc/include/asm/unaligned.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #ifndef _ASM_POWERPC_UNALIGNED_H | ||
2 | #define _ASM_POWERPC_UNALIGNED_H | ||
3 | |||
4 | #ifdef __KERNEL__ | ||
5 | |||
6 | /* | ||
7 | * The PowerPC can do unaligned accesses itself in big endian mode. | ||
8 | */ | ||
9 | #include <linux/unaligned/access_ok.h> | ||
10 | #include <linux/unaligned/generic.h> | ||
11 | |||
12 | #define get_unaligned __get_unaligned_be | ||
13 | #define put_unaligned __put_unaligned_be | ||
14 | |||
15 | #endif /* __KERNEL__ */ | ||
16 | #endif /* _ASM_POWERPC_UNALIGNED_H */ | ||