unaligned.h 433 B

1234567891011121314151617
  1. #ifndef _ASM_PARISC_UNALIGNED_H
  2. #define _ASM_PARISC_UNALIGNED_H
  3. #include <linux/unaligned/be_struct.h>
  4. #include <linux/unaligned/le_byteshift.h>
  5. #include <linux/unaligned/generic.h>
  6. #define get_unaligned __get_unaligned_be
  7. #define put_unaligned __put_unaligned_be
  8. #ifdef __KERNEL__
  9. struct pt_regs;
  10. void handle_unaligned(struct pt_regs *regs);
  11. int check_unaligned(struct pt_regs *regs);
  12. #endif
  13. #endif /* _ASM_PARISC_UNALIGNED_H */