Re: [PATCH 2/2] nds32: Fix the unaligned access handler

2018-05-08 Thread Greentime Hu
2018-05-07 14:45 GMT+08:00 Nickhu : > If the kernel config 'CONFIG_ALIGNMENT_TRAP' and the file > '/proc/sys/nds32/unaligned_access/enable' are set, the kernel > unaligned access handler does not handle correctly when the > value of immediate field is negative. This commit fixes the > unaligned acc

[PATCH 2/2] nds32: Fix the unaligned access handler

2018-05-06 Thread Nickhu
If the kernel config 'CONFIG_ALIGNMENT_TRAP' and the file '/proc/sys/nds32/unaligned_access/enable' are set, the kernel unaligned access handler does not handle correctly when the value of immediate field is negative. This commit fixes the unaligned access handler in kernel. Signed-off-by: Nickhu