diff options
author | Bernd Weiberg <bernd.weiberg@siemens.com> | 2015-09-04 17:03:03 +0800 |
---|---|---|
committer | Ley Foon Tan <lftan@opensource.altera.com> | 2015-09-08 01:32:27 +0800 |
commit | db5a7e55468147f28d1a408880564b61c542e4f8 (patch) | |
tree | c4763790616a76dc0e100c1474c81794e504492d /arch/nios2 | |
parent | 549a14c14b2f1868b81e5417a33b6d79e6da1d00 (diff) | |
download | linux-db5a7e55468147f28d1a408880564b61c542e4f8.tar.bz2 |
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>
Diffstat (limited to 'arch/nios2')
-rw-r--r-- | arch/nios2/kernel/misaligned.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/kernel/misaligned.c b/arch/nios2/kernel/misaligned.c index 4e5907a0cabe..89fe0b6ee339 100644 --- a/arch/nios2/kernel/misaligned.c +++ b/arch/nios2/kernel/misaligned.c @@ -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 */ |