blob: 5f1b1e3c21374d5a1833ed00c9af9d5c06a35123 [file] [log] [blame]
jdl@freescale.coma37c8872005-09-07 15:27:09 -05001#ifndef _ASM_POWERPC_UNALIGNED_H
2#define _ASM_POWERPC_UNALIGNED_H
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#ifdef __KERNEL__
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
6/*
7 * The PowerPC can do unaligned accesses itself in big endian mode.
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 */
Harvey Harrison6510d412008-04-29 01:03:30 -07009#include <linux/unaligned/access_ok.h>
10#include <linux/unaligned/generic.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Harvey Harrison6510d412008-04-29 01:03:30 -070012#define get_unaligned __get_unaligned_be
13#define put_unaligned __put_unaligned_be
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
jdl@freescale.coma37c8872005-09-07 15:27:09 -050015#endif /* __KERNEL__ */
16#endif /* _ASM_POWERPC_UNALIGNED_H */