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