Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db5a7e55 authored by Bernd Weiberg's avatar Bernd Weiberg Committed by Ley Foon Tan
Browse files

nios2: fixed variable imm16 to s16



Fxid variable imm16 to s16 instead of u16, offset might be negative.

Signed-off-by: default avatarBernd Weiberg <bernd.weiberg@siemens.com>
Signed-off-by: default avatarLey Foon Tan <lftan@altera.com>
parent 549a14c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause)
	u32 isn, addr, val;
	int in_kernel;
	u8 a, b, d0, d1, d2, d3;
	u16 imm16;
	s16 imm16;
	unsigned int fault;

	/* back up one instruction */