0001
0002
0003
0004
0005
0006 #ifndef _ASM_ARC_UNALIGNED_H
0007 #define _ASM_ARC_UNALIGNED_H
0008
0009
0010
0011 #include <asm-generic/unaligned.h>
0012 #include <asm/ptrace.h>
0013
0014 #ifdef CONFIG_ARC_EMUL_UNALIGNED
0015 int misaligned_fixup(unsigned long address, struct pt_regs *regs,
0016 struct callee_regs *cregs);
0017 #else
0018 static inline int
0019 misaligned_fixup(unsigned long address, struct pt_regs *regs,
0020 struct callee_regs *cregs)
0021 {
0022
0023 return 1;
0024 }
0025 #endif
0026
0027 #endif