aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/atomic-grb.h
diff options
context:
space:
mode:
authorStuart Menefy <stuart.menefy@st.com>2007-11-30 04:16:23 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:18:59 -0500
commit0fb19dcb64ec4bd9934eee26ce66417fe028ffd8 (patch)
treea2bb20e3d3f0703959e800cfcab2ad0eb81bf503 /include/asm-sh/atomic-grb.h
parentfc55888f83c1c0ac09abe4680f9a94fc0662677f (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 'include/asm-sh/atomic-grb.h')
0 files changed, 0 insertions, 0 deletions