]>
Commit | Line | Data |
---|---|---|
a37c8875 | 1 | #ifndef _ASM_POWERPC_UNALIGNED_H |
2 | #define _ASM_POWERPC_UNALIGNED_H | |
3 | ||
1da177e4 | 4 | #ifdef __KERNEL__ |
1da177e4 LT |
5 | |
6 | /* | |
7 | * The PowerPC can do unaligned accesses itself in big endian mode. | |
1da177e4 | 8 | */ |
6510d419 HH |
9 | #include <linux/unaligned/access_ok.h> |
10 | #include <linux/unaligned/generic.h> | |
1da177e4 | 11 | |
6510d419 HH |
12 | #define get_unaligned __get_unaligned_be |
13 | #define put_unaligned __put_unaligned_be | |
1da177e4 | 14 | |
a37c8875 | 15 | #endif /* __KERNEL__ */ |
16 | #endif /* _ASM_POWERPC_UNALIGNED_H */ |