mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
nios2: fixed variable imm16 to s16
Fxid variable imm16 to s16 instead of u16, offset might be negative. Signed-off-by: Bernd Weiberg <bernd.weiberg@siemens.com> Signed-off-by: Ley Foon Tan <lftan@altera.com>
This commit is contained in:
parent
549a14c14b
commit
db5a7e5546
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause)
|
||||||
u32 isn, addr, val;
|
u32 isn, addr, val;
|
||||||
int in_kernel;
|
int in_kernel;
|
||||||
u8 a, b, d0, d1, d2, d3;
|
u8 a, b, d0, d1, d2, d3;
|
||||||
u16 imm16;
|
s16 imm16;
|
||||||
unsigned int fault;
|
unsigned int fault;
|
||||||
|
|
||||||
/* back up one instruction */
|
/* back up one instruction */
|
||||||
|
|
Loading…
Reference in a new issue