/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

  1. #ifndef _ASM_POWERPC_UNALIGNED_H
  2. #define _ASM_POWERPC_UNALIGNED_H
  3. #ifdef __KERNEL__
  4. /*
  5. * The PowerPC can do unaligned accesses itself in big endian mode.
  6. */
  7. #include <linux/unaligned/access_ok.h>
  8. #include <linux/unaligned/generic.h>
  9. #define get_unaligned __get_unaligned_be
  10. #define put_unaligned __put_unaligned_be
  11. #endif /* __KERNEL__ */
  12. #endif /* _ASM_POWERPC_UNALIGNED_H */