nios2: fixed variable imm16 to s16
authorBernd Weiberg <bernd.weiberg@siemens.com>
Fri, 4 Sep 2015 09:03:03 +0000 (17:03 +0800)
committerLey Foon Tan <lftan@opensource.altera.com>
Mon, 7 Sep 2015 17:32:27 +0000 (01:32 +0800)
commitdb5a7e55468147f28d1a408880564b61c542e4f8
treec4763790616a76dc0e100c1474c81794e504492d
parent549a14c14b2f1868b81e5417a33b6d79e6da1d00
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>
arch/nios2/kernel/misaligned.c