JustOS/linux-6.13/arch/arc/kernel/unaligned.h
justuser 02e73b8cd9 up
2025-01-24 17:00:19 +03:00

17 lines
327 B
C

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