ARC: Reduce #ifdef'ery for unaligned access emulation

Emulation not enabled is treated as if the fixup failed, so no need for
special #ifdef checks.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
Vineet Gupta
2013-09-18 18:08:01 +05:30
parent 21a63b5604
commit 07ba69a46c
3 changed files with 3 additions and 7 deletions

View File

@@ -22,7 +22,8 @@ static inline int
misaligned_fixup(unsigned long address, struct pt_regs *regs,
struct callee_regs *cregs)
{
return 0;
/* Not fixed */
return 1;
}
#endif