summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/unaligned.h
blob: 5244453bb85f7f1d296b6d75a4ebedfc898cc631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct pt_regs;
struct callee_regs;

#ifdef CONFIG_ARC_EMUL_UNALIGNED
int misaligned_fixup(unsigned long address, struct pt_regs *regs,
		     struct callee_regs *cregs);
#else
static inline int
misaligned_fixup(unsigned long address, struct pt_regs *regs,
		 struct callee_regs *cregs)
{
	/* Not fixed */
	return 1;
}
#endif