[PATCH 0/2] nds32:Renaming file and fixing the unaligned access handler

From: Nickhu
Date: Mon May 07 2018 - 02:54:40 EST


The name of /proc/sys/nds32/unaligned_acess spelled wrong, so we renaming it
to /proc/sys/nds32/unaligned_access.

The unaligned access handler in nds32 goes wrong when the immediate field of
load/store instruction is negative. We fix it by recongnizing whether the
immediate field is positive or negative and then change the value of immediate
filed to unsigned integer number.

Nickhu (2):
nds32: Renaming the file for unaligned access
nds32: Fix the unaligned access handler

arch/nds32/mm/alignment.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

--
2.17.0