commit | 1613de8a785d21b3aac73d2a2e640b66d514393b | [log] [tgz] |
---|---|---|
author | Nickhu <nickhu@andestech.com> | Thu May 03 10:15:56 2018 +0800 |
committer | Greentime Hu <greentime@andestech.com> | Wed May 23 13:26:22 2018 +0800 |
tree | 0fcdfcff3e72c84871b202c5ef4a132a5ae5cbe7 | |
parent | b3a75846a5cfbea137e2810b2bf9407141e70feb [diff] |
nds32: Fix the unaligned access handler 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 <nickhu@andestech.com> Reviewed-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>