diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2015-01-08 12:19:44 +0000 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2015-01-27 22:33:56 +0200 |
| commit | ea2b5fb19d50c1cbdea9a40504e31e54d37b8bab (patch) | |
| tree | 1ff757e83ffe96c761d97460f8e8aad0b1f823d8 /util/qemu-thread-posix.c | |
| parent | b6e2c9353a5bd8649ee71a52c35344ce3fb1c7d2 (diff) | |
| download | focaccia-qemu-ea2b5fb19d50c1cbdea9a40504e31e54d37b8bab.tar.gz focaccia-qemu-ea2b5fb19d50c1cbdea9a40504e31e54d37b8bab.zip | |
linux-user/alpha: Add define for NR_shmat to enable shmat syscall
For historical reasons, the define for the shmat() syscall on Alpha is NR_osf_shmat; however it has the same semantics as this syscall does on all other architectures, so define TARGET_NR_shmat as well so that QEMU's code for the syscall is enabled. This patch brings our behaviour on the LTP shmat tests into line with that for ARM (still not a perfect pass rate but not "this syscall is completely broken" as we had before). (Problem detected via a clang warning that the do_shmat() function was unused on Alpha.) Cc: Richard Henderson <rth@twiddle.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'util/qemu-thread-posix.c')
0 files changed, 0 insertions, 0 deletions