linux-user: sparc64: Use correct target SHMLBA in shmat()
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 4 Oct 2016 13:13:46 +0000 (14:13 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 21 Oct 2016 12:19:40 +0000 (15:19 +0300)
commita7c65cbfe707aba92511bd63540a2be069bf9ffc
treefbd0d234180c3c9487408212bcb78050c8206d2f
parente21d6957f3b3e4ecfda02c75b99babd361def784
linux-user: sparc64: Use correct target SHMLBA in shmat()

In commit 40df8c0c0722 support was added for target-specific
handling of SHMLBA. Unfortunately the sparc64-specific part
of the change got lost somewhere between the patch being
posted to the list and going into master:
 http://patchwork.ozlabs.org/patch/646980/
 http://patchwork.ozlabs.org/patch/673339/

Add the accidentally-dropped code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/sparc64/target_syscall.h