/arch/powerpc/include/asm/unaligned.h
https://github.com/aicjofs/android_kernel_lge_v500_20d_f2fs · C Header · 16 lines · 9 code · 4 blank · 3 comment · 0 complexity · bc0d508fe24c11355a544bdd9edc1ee6 MD5 · raw file
- #ifndef _ASM_POWERPC_UNALIGNED_H
- #define _ASM_POWERPC_UNALIGNED_H
- #ifdef __KERNEL__
- /*
- * The PowerPC can do unaligned accesses itself in big endian mode.
- */
- #include <linux/unaligned/access_ok.h>
- #include <linux/unaligned/generic.h>
- #define get_unaligned __get_unaligned_be
- #define put_unaligned __put_unaligned_be
- #endif /* __KERNEL__ */
- #endif /* _ASM_POWERPC_UNALIGNED_H */