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