unaligned.h 327 B

12345678910111213141516
  1. struct pt_regs;
  2. struct callee_regs;
  3. #ifdef CONFIG_ARC_EMUL_UNALIGNED
  4. int misaligned_fixup(unsigned long address, struct pt_regs *regs,
  5. struct callee_regs *cregs);
  6. #else
  7. static inline int
  8. misaligned_fixup(unsigned long address, struct pt_regs *regs,
  9. struct callee_regs *cregs)
  10. {
  11. /* Not fixed */
  12. return 1;
  13. }
  14. #endif