1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
6 #ifndef _ASM_ARC_UNALIGNED_H
7 #define _ASM_ARC_UNALIGNED_H
9 /* ARC700 can't handle unaligned Data accesses. */
11 #include <asm-generic/unaligned.h>
12 #include <asm/ptrace.h>
14 #ifdef CONFIG_ARC_EMUL_UNALIGNED
15 int misaligned_fixup(unsigned long address, struct pt_regs *regs,
16 struct callee_regs *cregs);
19 misaligned_fixup(unsigned long address, struct pt_regs *regs,
20 struct callee_regs *cregs)
27 #endif /* _ASM_ARC_UNALIGNED_H */