Commit 95c1eb19 authored by Peter Maydell's avatar Peter Maydell Committed by Anthony Liguori
Browse files

linux-user: Return success from m68k set_thread_area syscall



The m68k set_thread_area syscall implementation failed to set the
return value. Correctly set it zero, since this syscall will always
succeed.

Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Message-id: 1375093909-13653-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent 978fae9f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8523,6 +8523,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
      {
          TaskState *ts = ((CPUArchState *)cpu_env)->opaque;
          ts->tp_value = arg1;
          ret = 0;
          break;
      }
#else