diff options
author | Stuart Menefy | 2007-11-30 18:16:23 +0900 |
---|---|---|
committer | Paul Mundt | 2008-01-28 13:18:59 +0900 |
commit | 0fb19dcb64ec4bd9934eee26ce66417fe028ffd8 (patch) | |
tree | a2bb20e3d3f0703959e800cfcab2ad0eb81bf503 /arch | |
parent | fc55888f83c1c0ac09abe4680f9a94fc0662677f (diff) |
sh: get_user fixes and nommu consolidation.
When a get_user(to, from++) is called the pointer increment is performed
after its first usage, in the specific after the __add_ok invokation.
This causes a wrong get_user return value, putting a wrong character
in the destination variable. This patch solves the problem using a new
temporary pointer.
Additionally this reworks the use of the register banks, allowing for
consolidation between the MMU and nommu implementations.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com>
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions