nios2: fixed variable imm16 to s16
[firefly-linux-kernel-4.4.55.git] / arch / nios2 / kernel / misaligned.c
index 4e5907a0cabe88d4a797b9cdbc0f0081392c62bd..89fe0b6ee339c1035c2aef555a98d4a5626b341a 100644 (file)
@@ -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 */